pub struct Memory {
pub rss_total: u64,
pub virt_total: u64,
pub minor_faults: u64,
pub major_faults: u64,
}Expand description
Statistics related to memory, vm
Fields§
§rss_total: u64Accumulated RSS usage in duration of a task, in MBytes-usecs
virt_total: u64Accumulated virtual memory usage in duration of a task
minor_faults: u64Minor faults count
major_faults: u64Major faults count
Trait Implementations§
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