#[non_exhaustive]pub enum UtmpEntry {
UTMP {
line: String,
user: String,
host: String,
time: OffsetDateTime,
},
}Expand description
Parsed utmp entry.
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.
UTMP
Trait Implementations§
impl Eq for UtmpEntry
impl StructuralPartialEq for UtmpEntry
Auto Trait Implementations§
impl Freeze for UtmpEntry
impl RefUnwindSafe for UtmpEntry
impl Send for UtmpEntry
impl Sync for UtmpEntry
impl Unpin for UtmpEntry
impl UnwindSafe for UtmpEntry
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more