[][src]Enum os_info::Bitness

pub enum Bitness {
    Unknown,
    X32,
    X64,
}

Operating system architecture in terms of how many bits compose the basic values it can deal with.

Variants

Unknown

Unknown bitness (unable to determine).

X32

32-bit.

X64

64-bit.

Trait Implementations

impl Clone for Bitness[src]

impl Copy for Bitness[src]

impl Debug for Bitness[src]

impl<'de> Deserialize<'de> for Bitness[src]

impl Display for Bitness[src]

impl Eq for Bitness[src]

impl Hash for Bitness[src]

impl Ord for Bitness[src]

impl PartialEq<Bitness> for Bitness[src]

impl PartialOrd<Bitness> for Bitness[src]

impl Serialize for Bitness[src]

impl StructuralEq for Bitness[src]

impl StructuralPartialEq for Bitness[src]

Auto Trait Implementations

impl RefUnwindSafe for Bitness

impl Send for Bitness

impl Sync for Bitness

impl Unpin for Bitness

impl UnwindSafe for Bitness

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.