#[repr(C)]pub struct Utmpx {Show 13 fields
pub ut_type: i16,
pub __ut_pad1: i16,
pub ut_pid: i32,
pub ut_line: [c_char; 32],
pub ut_id: [c_char; 4],
pub ut_user: [c_char; 32],
pub ut_host: [c_char; 256],
pub ut_exit: UtmpExit,
pub ut_session: i32,
pub __ut_pad2: i32,
pub ut_tv: timeval,
pub ut_addr_v6: [u32; 4],
pub __unused: [u8; 20],
}Fields§
§ut_type: i16§__ut_pad1: i16§ut_pid: i32§ut_line: [c_char; 32]§ut_id: [c_char; 4]§ut_user: [c_char; 32]§ut_host: [c_char; 256]§ut_exit: UtmpExit§ut_session: i32§__ut_pad2: i32§ut_tv: timeval§ut_addr_v6: [u32; 4]§__unused: [u8; 20]Auto Trait Implementations§
impl Forget for Utmpx
impl Freeze for Utmpx
impl RefUnwindSafe for Utmpx
impl Send for Utmpx
impl Sync for Utmpx
impl Unpin for Utmpx
impl UnsafeUnpin for Utmpx
impl UnwindSafe for Utmpx
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