[−][src]Enum coreutils_core::os::utmpx::UtmpxKind
Possible types of a Utmpx
instance.
Variants (Non-exhaustive)
Not sure yet. (Linux and MacOS exclusive)
Time of a system boot.
A session leader exited.
No valid user accounting information.
A process spawned by init(8).
The session leader of a logged-in user.
Time after system clock change.
Time before system clock change.
Run level. Provided for compatibility, not used on NetBSD.
Not sure yet. (MacOS exclusive)
The session leader of a time of system shutdown.
Trait Implementations
impl Clone for UtmpxKind
[src]
impl Copy for UtmpxKind
[src]
impl Debug for UtmpxKind
[src]
impl Eq for UtmpxKind
[src]
impl Hash for UtmpxKind
[src]
fn hash<__H: Hasher>(&self, state: &mut __H)
[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
impl Ord for UtmpxKind
[src]
fn cmp(&self, other: &UtmpxKind) -> Ordering
[src]
#[must_use]fn max(self, other: Self) -> Self
1.21.0[src]
#[must_use]fn min(self, other: Self) -> Self
1.21.0[src]
#[must_use]fn clamp(self, min: Self, max: Self) -> Self
[src]
impl PartialEq<UtmpxKind> for UtmpxKind
[src]
impl PartialOrd<UtmpxKind> for UtmpxKind
[src]
fn partial_cmp(&self, other: &UtmpxKind) -> Option<Ordering>
[src]
#[must_use]fn lt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]fn le(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]fn gt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]fn ge(&self, other: &Rhs) -> bool
1.0.0[src]
impl StructuralEq for UtmpxKind
[src]
impl StructuralPartialEq for UtmpxKind
[src]
impl TryFrom<UtmpxKind> for i8
[src]
type Error = Error
The type returned in the event of a conversion error.
fn try_from(utype: UtmpxKind) -> Result<Self, Error>
[src]
impl TryFrom<UtmpxKind> for i16
[src]
type Error = Error
The type returned in the event of a conversion error.
fn try_from(utype: UtmpxKind) -> Result<Self, Error>
[src]
impl TryFrom<UtmpxKind> for i32
[src]
type Error = Error
The type returned in the event of a conversion error.
fn try_from(utype: UtmpxKind) -> Result<Self, Error>
[src]
impl TryFrom<UtmpxKind> for i64
[src]
type Error = Error
The type returned in the event of a conversion error.
fn try_from(utype: UtmpxKind) -> Result<Self, Error>
[src]
impl TryFrom<UtmpxKind> for i128
[src]
type Error = Error
The type returned in the event of a conversion error.
fn try_from(utype: UtmpxKind) -> Result<Self, Error>
[src]
impl TryFrom<UtmpxKind> for u8
[src]
type Error = Error
The type returned in the event of a conversion error.
fn try_from(utype: UtmpxKind) -> Result<Self, Error>
[src]
impl TryFrom<UtmpxKind> for u16
[src]
type Error = Error
The type returned in the event of a conversion error.
fn try_from(utype: UtmpxKind) -> Result<Self, Error>
[src]
impl TryFrom<UtmpxKind> for u32
[src]
type Error = Error
The type returned in the event of a conversion error.
fn try_from(utype: UtmpxKind) -> Result<Self, Error>
[src]
impl TryFrom<UtmpxKind> for u64
[src]
type Error = Error
The type returned in the event of a conversion error.
fn try_from(utype: UtmpxKind) -> Result<Self, Error>
[src]
impl TryFrom<UtmpxKind> for u128
[src]
type Error = Error
The type returned in the event of a conversion error.
fn try_from(utype: UtmpxKind) -> Result<Self, Error>
[src]
impl TryFrom<i128> for UtmpxKind
[src]
type Error = Error
The type returned in the event of a conversion error.
fn try_from(num: i128) -> Result<Self, Error>
[src]
impl TryFrom<i16> for UtmpxKind
[src]
type Error = Error
The type returned in the event of a conversion error.
fn try_from(num: i16) -> Result<Self, Error>
[src]
impl TryFrom<i32> for UtmpxKind
[src]
type Error = Error
The type returned in the event of a conversion error.
fn try_from(num: i32) -> Result<Self, Error>
[src]
impl TryFrom<i64> for UtmpxKind
[src]
type Error = Error
The type returned in the event of a conversion error.
fn try_from(num: i64) -> Result<Self, Error>
[src]
impl TryFrom<i8> for UtmpxKind
[src]
type Error = Error
The type returned in the event of a conversion error.
fn try_from(num: i8) -> Result<Self, Error>
[src]
impl TryFrom<u128> for UtmpxKind
[src]
type Error = Error
The type returned in the event of a conversion error.
fn try_from(num: u128) -> Result<Self, Error>
[src]
impl TryFrom<u16> for UtmpxKind
[src]
type Error = Error
The type returned in the event of a conversion error.
fn try_from(num: u16) -> Result<Self, Error>
[src]
impl TryFrom<u32> for UtmpxKind
[src]
type Error = Error
The type returned in the event of a conversion error.
fn try_from(num: u32) -> Result<Self, Error>
[src]
impl TryFrom<u64> for UtmpxKind
[src]
type Error = Error
The type returned in the event of a conversion error.
fn try_from(num: u64) -> Result<Self, Error>
[src]
impl TryFrom<u8> for UtmpxKind
[src]
Auto Trait Implementations
impl RefUnwindSafe for UtmpxKind
impl Send for UtmpxKind
impl Sync for UtmpxKind
impl Unpin for UtmpxKind
impl UnwindSafe for UtmpxKind
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>,