#[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],
/* private fields */
}
Fields§
§ut_type: c_short
§ut_pid: pid_t
§ut_line: [c_char; 32]
§ut_id: [c_char; 4]
§ut_user: [c_char; 32]
§ut_host: [c_char; 256]
§ut_exit: __exit_status
§ut_session: i32
§ut_tv: __timeval
§ut_addr_v6: [i32; 4]
Trait Implementations§
Auto Trait Implementations§
impl Freeze for utmpx
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)