[][src]Struct libc::sysinfo

#[repr(C)]pub struct sysinfo {
    pub uptime: c_long,
    pub loads: [c_ulong; 3],
    pub totalram: c_ulong,
    pub freeram: c_ulong,
    pub sharedram: c_ulong,
    pub bufferram: c_ulong,
    pub totalswap: c_ulong,
    pub freeswap: c_ulong,
    pub procs: c_ushort,
    pub pad: c_ushort,
    pub totalhigh: c_ulong,
    pub freehigh: c_ulong,
    pub mem_unit: c_uint,
    pub _f: [c_char; 8],
}

Fields

uptime: c_longloads: [c_ulong; 3]totalram: c_ulongfreeram: c_ulongsharedram: c_ulongbufferram: c_ulongtotalswap: c_ulongfreeswap: c_ulongprocs: c_ushortpad: c_ushort
👎 Deprecated since 0.2.58:

This padding field might become private in the future

totalhigh: c_ulongfreehigh: c_ulongmem_unit: c_uint_f: [c_char; 8]

Trait Implementations

impl Clone for sysinfo[src]

impl Copy for sysinfo[src]

Auto Trait Implementations

impl Send for sysinfo

impl Sync for sysinfo

impl Unpin for sysinfo

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.