Struct libudev::Context [] [src]

pub struct Context { /* fields omitted */ }

A libudev context.

Methods

impl Context
[src]

Creates a new context.

Creates a device for a given syspath.

The syspath parameter should be a path to the device file within the sysfs file system, e.g., /sys/devices/virtual/tty/tty0.

Trait Implementations

impl Drop for Context
[src]

A method called when the value goes out of scope. Read more