[−][src]Struct utmp_raw::utmp
Fields
ut_type: c_short
Type of record
ut_pid: pid_t
PID of login process
ut_line: [u8; 32]
Device name of tty - "/dev/"
ut_id: [u8; 4]
Terminal name suffix, or inittab(5)
ID
ut_user: [u8; 32]
Username
ut_host: [u8; 256]
Hostname for remote login, or kernel version for run-level message
ut_exit: exit_status
Exit status of a process marked as DEAD_PROCESS
; not used by Linux init
ut_session: i32
Session ID (getsid(2)
) used for windowing
ut_tv: timeval
Time entry was made
ut_addr_v6: [i32; 4]
Internet address of remote host; IPv4 address uses just ut_addr_v6[0]
__unused: [u8; 20]
Reserved for future use
Trait Implementations
impl Clone for utmp
[src]
impl Copy for utmp
[src]
impl Debug for utmp
[src]
impl FromBytes for utmp
[src]
fn only_derive_is_allowed_to_implement_this_trait() where
Self: Sized,
[src]
Self: Sized,
Auto Trait Implementations
impl RefUnwindSafe for utmp
impl Send for utmp
impl Sync for utmp
impl Unpin for utmp
impl UnwindSafe for utmp
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,