pub struct Memory {
pub total: Option<u64>,
pub free: Option<u64>,
pub used: u64,
pub buffers: Option<u64>,
pub cached: Option<u64>,
pub shmem: Option<u64>,
pub swap_total: Option<u64>,
pub swap_free: Option<u64>,
pub swap_used: Option<u64>,
}
Fields§
§total: Option<u64>
§free: Option<u64>
§used: u64
§buffers: Option<u64>
§cached: Option<u64>
§shmem: Option<u64>
§swap_total: Option<u64>
§swap_free: Option<u64>
§swap_used: Option<u64>
Trait Implementations§
source§impl PartialEq for Memory
impl PartialEq for Memory
impl StructuralPartialEq for Memory
Auto Trait Implementations§
impl Freeze for Memory
impl RefUnwindSafe for Memory
impl Send for Memory
impl Sync for Memory
impl Unpin for Memory
impl UnwindSafe for Memory
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