Expand description
§Rust Gio Unix bindings
Rust bindings and wrappers for gio, part of gtk-rs-core.
Gio 2.56 is the lowest supported version for the underlying library.
§Minimum supported Rust version
Currently, the minimum supported Rust version is 1.83.0.
§Documentation
§Using
We recommend using crates from crates.io, as demonstrated here.
If you want to track the bleeding edge, use the git dependency instead:
[dependencies]
gio = { git = "https://github.com/gtk-rs/gtk-rs-core.git", package = "gio" }Avoid mixing versioned and git crates like this:
# This will not compile
[dependencies]
glib = "0.13"
gio = { git = "https://github.com/gtk-rs/gtk-rs-core.git", package = "gio" }§See Also
§License
gio-unix is available under the MIT License, please refer to it.
Re-exports§
pub use gio_unix_sys as ffi;
Modules§
Structs§
- Desktop
AppInfo Non-macOS belongs to the UNIX-specific GIO interfaces, thus you have to use thegio-unix-2.0.pcpkg-config file or theGioUnix-2.0` GIR namespace when using it.- FDMessage
belongs to the UNIX-specific GIO interfaces, thus you have to use thegio-unix-2.0.pcpkg-config file or theGioUnix-2.0` GIR namespace when using it.- File
Descriptor Based belongs to the UNIX-specific GIO interfaces, thus you have to use thegio-unix-2.0.pcpkg-config file or theGioUnix-2.0` GIR namespace when using it.- Input
Stream belongs to the UNIX-specific GIO interfaces, thus you have to use thegio-unix-2.0.pcpkg-config file or theGioUnix-2.0` GIR namespace when using it.- Mount
Entry v2_84 - Defines a Unix mount entry (e.g.
/media/cdrom). This corresponds roughly to a mtab entry. - Mount
Monitor - Watches for changes to the set of mount entries and mount points in the system.
- Mount
Point - Defines a Unix mount point (e.g.
/dev). This corresponds roughly to a fstab entry. - Output
Stream belongs to the UNIX-specific GIO interfaces, thus you have to use thegio-unix-2.0.pcpkg-config file file or theGioUnix-2.0` GIR namespace when using it.