[][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_ushorttotalhigh: c_ulongfreehigh: c_ulongmem_unit: c_uint_f: [c_char; 8]

Trait Implementations

impl Clone for sysinfo[src]

fn clone_from(&mut self, source: &Self)
1.0.0
[src]

Performs copy-assignment from source. Read more

impl Copy for sysinfo[src]

Auto Trait Implementations

impl Send for sysinfo

impl Sync for sysinfo

Blanket Implementations

impl<T> From for T[src]

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

type Error = Infallible

The type returned in the event of a conversion error.

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

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

The type returned in the event of a conversion error.

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

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

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

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