Enum utmp_rs::UtmpError [−][src]
#[non_exhaustive]
pub enum UtmpError {
UnknownType(c_short),
InvalidTime(timeval),
InvalidLine(Box<[u8]>),
InvalidUser(Box<[u8]>),
InvalidHost(Box<[u8]>),
}
Variants (Non-exhaustive)
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
UnknownType(c_short)
Tuple Fields
0: c_short
InvalidTime(timeval)
Tuple Fields
0: timeval