Struct udev::hwdb::Hwdb [-]  [+] [src]

pub struct Hwdb<'u> {
    // some fields omitted
}

Methods

impl<'u> Hwdb<'u>

fn udev(&self) -> &Udev

Get the udev context.

fn query<'s>(&'s mut self, modalias: &str) -> Query<'s, 'u>

Query the hardware database.

Note

Only one query can exist at a time.

Trait Implementations

impl<'u> Drop for Hwdb<'u>

fn drop(&mut self)