Crate mio_udev [] [src]

mio-udev

This library implements abstractions around udev to make it usable with mio event loop.

Usage

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

[dependencies]
mio-udev = "0.1"

Then import it in your crate root as:

extern crate mio_udev;

Structs

Attribute

A device attribute.

Attributes

Iterator over a device's attributes.

Context

A libudev context.

Device

A structure that provides access to sysfs/kernel devices.

Event

An event that indicates a change in device state.

MonitorBuilder

Monitors for device events.

MonitorSocket

A wrapper around an udev::MonitorSocket that adds the required mio functionality.

Properties

Iterator over a device's properties.

Property

A device property.

UdevError

The error type for libudev operations.