#[repr(C)]pub struct sysinfo {Show 14 fields
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_long§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👎Deprecated since 0.2.58: This padding field might become private in the future
§totalhigh: c_ulong§freehigh: c_ulong§mem_unit: c_uint§_f: [c_char; 8]Trait Implementations§
impl Copy for sysinfo
impl Eq for sysinfo
impl StructuralPartialEq for sysinfo
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§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)