#[repr(C)]pub struct sysinfo {}
Fields
uptime: i64
loads: [u64; 3]
totalram: u64
freeram: u64
bufferram: u64
totalswap: u64
freeswap: u64
procs: c_ushort
pad: c_ushort
totalhigh: u64
freehigh: u64
mem_unit: c_uint
_f: [c_char; 0]
Trait Implementations
sourceimpl Hash for sysinfo
impl Hash for sysinfo
sourcefn hash<__H: Hasher>(&self, state: &mut __H)
fn hash<__H: Hasher>(&self, state: &mut __H)
Feeds this value into the given [
Hasher
]. Read more1.3.0fn hash_slice<H>(data: &[Self], state: &mut H)where
H: Hasher,
fn hash_slice<H>(data: &[Self], state: &mut H)where
H: Hasher,
Feeds a slice of this type into the given [
Hasher
]. Read moreimpl Copy for sysinfo
impl Eq for sysinfo
impl StructuralEq for sysinfo
impl StructuralPartialEq for sysinfo
Auto Trait Implementations
impl RefUnwindSafe for sysinfo
impl Send for sysinfo
impl Sync for sysinfo
impl Unpin for sysinfo
impl UnwindSafe for sysinfo
Blanket Implementations
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstablefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more