Crate tokio_udev

Crate tokio_udev 

Source
Expand description

§tokio-udev

This library implements an stream of device events from udev asynchronously.

§Usage

First put the dependency on your crate’s Cargo.toml. For example:

[dependencies]
tokio-udev = "0.9"

Structs§

AsyncMonitorSocket
Asynchronous stream of device events.
Attributes
A convenience alias for a list of attributes, bound to a device.
Device
A structure that provides access to sysfs/kernel devices.
Enumerator
An enumeration context.
Event
An event that indicates a change in device state.
MonitorBuilder
Monitors for device events.
MonitorSocket
An active monitor that can receive events.

Enums§

EventType
Types of events that can be received from udev.

Type Aliases§

Properties
A convenience alias for a list of properties, bound to a device.