Type Alias UtmpParser

Source
pub type UtmpParser<R> = UtmpParserImpl<R, utmp>;
Expand description

Parser to parse a utmp file. It can be used as an iterator.

for entry in UtmpParser::from_path("/var/run/utmp")? {
    let entry = entry?;
    // handle entry
}

Aliased Typeยง

pub struct UtmpParser<R>(/* private fields */);