#[repr(C)]pub struct Whoent {
pub we_utmp: Outmp,
pub we_idle: i32,
}Expand description
Classic C struct for a single user session.
This struct is used in the rwhod protocol by being interpreted as raw bytes to be sent over UDP.
Fields§
§we_utmp: Outmpactive tty info
we_idle: i32tty idle time
Implementations§
Trait Implementations§
Source§impl TryFrom<WhodUserEntry> for Whoent
impl TryFrom<WhodUserEntry> for Whoent
Source§impl TryFrom<Whoent> for WhodUserEntry
impl TryFrom<Whoent> for WhodUserEntry
impl Eq for Whoent
impl StructuralPartialEq for Whoent
Auto Trait Implementations§
impl Freeze for Whoent
impl RefUnwindSafe for Whoent
impl Send for Whoent
impl Sync for Whoent
impl Unpin for Whoent
impl UnwindSafe for Whoent
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