Expand description
Rust GIO 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.63.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]
gio = "0.13"
gio = { git = "https://github.com/gtk-rs/gtk-rs-core.git", package = "gio" }
See Also
License
gio is available under the MIT License, please refer to it.
Re-exports
Modules
- Traits and essential types intended for blanket imports.
Macros
- Include gresources generated with
glib_build_tools::compile_resources
and register with glib.path
is relative toOUTDIR
.
Structs
- A future which can be cancelled via
Cancellable
. - Indicator that the
CancellableFuture
was cancelled. - DebugController
v2_72
- DebugControllerDBus
v2_72
- DesktopAppInfoNon-Windows and non-macOS
- The implementation of an
IOExtensionPoint
. - An extension point provides a mechanism to extend the functionality of a library or application. Each extension point is identified by a name, and it may optionally require that any implementation must be of a certain type.
- Builder for extension points.
LocalTask
provides idiomatic access to gio’sGTask
API, for instance by being generic over their value type, while not completely departing from the underlying C API.LocalTask
does not require its value to beSend
andSync
and thus is useful to to implement gio style asynchronous tasks that run in the glib main loop. If you need to run tasks in threads see theTask
type.- MemoryMonitor
v2_64
- PowerProfileMonitor
v2_70
Task
provides idiomatic access to gio’sGTask
API, for instance by being generic over their value type, while not completely departing from the underlying C API.Task
isSend
andSync
and requires its value to also beSend
andSync
, thus is useful to to implement gio style asynchronous tasks that run in threads. If you need to only run tasks in glib main loop see theLocalTask
type.- UnixFDListUnix
- UnixInputStreamUnix
- UnixMountEntryUnix
- UnixMountPointUnix
- UnixOutputStreamUnix
Enums
- TlsProtocolVersion
v2_70
- TlsRehandshakeModeDeprecated
Statics
- VOLUME_IDENTIFIER_KIND_HAL_UDIDeprecated
Functions
- dbus_is_error_name
v2_70