pub struct ResourceUsage {}Expand description
Data type for resource usage results.
Fields§
§usertime: TimeValuser CPU time used
systime: TimeValsystem CPU time used
maxrss: u64maximum resident set size
ixrss: u64integral shared memory size (no Windows support)
idrss: u64integral unshared data size (no Windows support)
isrss: u64integral unshared stack size (no Windows support)
minflt: u64page reclaims (soft page faults) (no Windows support)
majflt: u64page faults (hard page faults)
nswap: u64swaps (no Windows support)
inblock: u64block input operations
oublock: u64block output operations
msgsnd: u64IPC messages sent (no windows support)
msgrcv: u64IPC messages received (no Windows support)
nsignals: u64signals received (no Windows support)
nvcsw: u64voluntary context switches (no Windows support)
nivcsw: u64involuntary context switches (no Windows support)
Auto Trait Implementations§
impl Freeze for ResourceUsage
impl RefUnwindSafe for ResourceUsage
impl Send for ResourceUsage
impl Sync for ResourceUsage
impl Unpin for ResourceUsage
impl UnsafeUnpin for ResourceUsage
impl UnwindSafe for ResourceUsage
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