Struct 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], /* private fields */ }
Fields
ut_type: c_shortut_pid: pid_tut_line: [c_char; 32]ut_id: [c_char; 4]ut_user: [c_char; 32]ut_host: [c_char; 256]ut_exit: __exit_statusut_session: i32ut_tv: __timevalut_addr_v6: [i32; 4]
Trait Implementations
impl Clone for utmpx
fn clone(&self) -> Self
impl Copy for utmpx
impl Debug for utmpx
fn fmt(&self, f: &mut Formatter<'_>) -> Result
impl Eq for utmpx
impl Hash for utmpx
fn hash<__H: Hasher>(&self, state: &mut __H)
impl PartialEq for utmpx
fn eq(&self, other: &Self) -> bool
impl StructuralPartialEq for utmpx
Auto Trait Implementations
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
impl<T> Any for utmpx
where
T: 'static + ?Sized,
fn type_id(&self) -> TypeId
impl<T> Borrow<T> for utmpx
where
T: ?Sized,
fn borrow(&self) -> &T
impl<T> BorrowMut<T> for utmpx
where
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
impl<T> CloneToUninit for utmpx
where
T: Clone,
unsafe fn clone_to_uninit(&self, dest: *mut u8)
impl<T> From<T> for utmpx
fn from(t: T) -> TReturns the argument unchanged.
impl<T, U> Into<U> for utmpx
where
U: From<T>,
fn into(self) -> UCalls
U::from(self).That is, this conversion is whatever the implementation of
[From]<T> for Uchooses to do.
impl<T, U> TryFrom<U> for utmpx
where
U: Into<T>,
type Error = never;fn try_from(value: U) -> Result<T, never>
impl<T, U> TryInto<U> for utmpx
where
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error;fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>