Struct libc::utmpx
#[repr(C)]
pub struct utmpx {
pub ut_type: ::c_short,
pub ut_pid: ::pid_t,
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: __exit_status,
pub ut_session: i32,
pub ut_tv: __timeval,
pub ut_addr_v6: [i32; 4],
/* some fields hidden */
}
Fields
pub ut_type: ::c_short
pub ut_pid: ::pid_t
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: __exit_status
pub ut_session: i32
pub ut_tv: __timeval
pub ut_addr_v6: [i32; 4]
Trait Implementations
impl Debug for utmpx
fn fmt(&Self, f: &mut ::fmt::Formatter<'_>) -> ::fmt::Result
impl Hash for utmpx
fn hash<H: ::hash::Hasher>(&Self, state: &mut H)
Auto Trait Implementations
impl RefUnwindSafe for utmpx
impl UnwindSafe for utmpx
Blanket Implementations
impl<T> BorrowMut<T> for T
where
T: ?Sized,
where
T: ?Sized,
fn borrow_mut(&mut Self) -> &mut T