[][src]Struct os_stat::Memory

pub struct Memory {
    pub total: u64,
    pub used: u64,
    pub buffers: u64,
    pub cached: u64,
    pub free: u64,
    pub available: u64,
    pub active: u64,
    pub inactive: u64,
    pub swap_total: u64,
    pub swap_used: u64,
    pub swap_cached: u64,
    pub swap_free: u64,
    pub mem_available_enabled: bool,
}

Fields

total: u64used: u64buffers: u64cached: u64free: u64available: u64active: u64inactive: u64swap_total: u64swap_used: u64swap_cached: u64swap_free: u64mem_available_enabled: bool

Implementations

impl Memory[src]

pub fn get() -> Result<Self>[src]

Trait Implementations

impl Debug for Memory[src]

impl Default for Memory[src]

impl PartialEq<Memory> for Memory[src]

impl StructuralPartialEq for Memory[src]

Auto Trait Implementations

impl RefUnwindSafe for Memory

impl Send for Memory

impl Sync for Memory

impl Unpin for Memory

impl UnwindSafe for Memory

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> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[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.