#[repr(C)]pub struct utmpx {
pub ut_user: [c_char; 256],
pub ut_id: [c_char; 4],
pub ut_line: [c_char; 32],
pub ut_pid: pid_t,
pub ut_type: c_short,
pub ut_tv: timeval,
pub ut_host: [c_char; 256],
/* private fields */
}
Fields§
§ut_user: [c_char; 256]
§ut_id: [c_char; 4]
§ut_line: [c_char; 32]
§ut_pid: pid_t
§ut_type: c_short
§ut_tv: timeval
§ut_host: [c_char; 256]
Trait Implementations§
source§impl PartialEq<utmpx> for utmpx
impl PartialEq<utmpx> for utmpx
impl Copy for utmpx
impl Eq for utmpx
Auto Trait Implementations§
impl RefUnwindSafe for utmpx
impl Send for utmpx
impl Sync for utmpx
impl Unpin 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