#[repr(C)]pub struct MemInfo {
pub total: u64,
pub free: u64,
pub avail: u64,
pub buffers: u64,
pub cached: u64,
pub swap_total: u64,
pub swap_free: u64,
}
Expand description
System memory information.
Fields§
§total: u64
Total physical memory.
free: u64
§avail: u64
§buffers: u64
§cached: u64
§swap_total: u64
Total swap memory.
swap_free: u64
Trait Implementations§
Auto Trait Implementations§
impl Freeze for MemInfo
impl RefUnwindSafe for MemInfo
impl Send for MemInfo
impl Sync for MemInfo
impl Unpin for MemInfo
impl UnwindSafe for MemInfo
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