Skip to main content

Crate gio_unix

Crate gio_unix 

Source
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§

functions
prelude

Structs§

DesktopAppInfoNon-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.
FileDescriptorBased
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.
InputStream
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.
MountEntryv2_84
Defines a Unix mount entry (e.g. /media/cdrom). This corresponds roughly to a mtab entry.
MountMonitor
Watches for changes to the set of mount entries and mount points in the system.
MountPoint
Defines a Unix mount point (e.g. /dev). This corresponds roughly to a fstab entry.
OutputStream
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.