Expand description
libudev Bindings for Rust
Re-exports§
pub extern crate libudev_sys as ffi;
Structs§
- Attributes
- A convenience alias for a list of attributes, bound to a device.
- Device
- A structure that provides access to sysfs/kernel devices.
- Entry
- Rust wrapper for each entry in
List
, each of which contains a name and a value. - Enumerator
- An enumeration context.
- Event
- An event that indicates a change in device state.
- List
- Rust wrapper for the
udev_list_entry
struct, which provides sequential access to an associative list of string names and values. - Monitor
Builder - Monitors for device events.
- Monitor
Socket - An active monitor that can receive events.
- Monitor
Socket Iter - Iterator of socket events
- Udev
- Rust wrapper for the
udev
struct which represents an opaque libudev context
Enums§
- Device
Type - Permissible types of UNIX file I/O API device special file.
- Event
Type - Types of events that can be received from udev.
Traits§
- AsRaw
- Receive the underlying raw pointer
- AsRaw
With Context - Receive the underlying raw pointer for types with an associated
udev
struct which must outlive them. - FromRaw
- Convert from a raw pointer
- From
RawWith Context - Convert from a raw pointer for types which must be associated with a
Udev
context object.
Type Aliases§
- Devices
- Iterator over devices.
- Properties
- A convenience alias for a list of properties, bound to a device.