#[repr(C)]pub struct sysinfo {Show 14 fields
pub uptime: c_ulong,
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 __reserved: [c_char; 256],
}
Fields§
§uptime: c_ulong
§loads: [c_ulong; 3]
§totalram: c_ulong
§freeram: c_ulong
§bufferram: c_ulong
§totalswap: c_ulong
§freeswap: c_ulong
§procs: c_ushort
§pad: c_ushort
§totalhigh: c_ulong
§freehigh: c_ulong
§mem_unit: c_uint
§__reserved: [c_char; 256]
Trait Implementations§
Auto Trait Implementations§
impl Freeze for sysinfo
impl RefUnwindSafe for sysinfo
impl Send for sysinfo
impl Sync for sysinfo
impl Unpin for sysinfo
impl UnwindSafe for sysinfo
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more