pub struct Rusage {
pub user_time: Duration,
pub system_time: Duration,
pub max_rss: i64,
pub page_faults: i64,
pub involuntary_context_switches: i64,
pub voluntary_context_switches: i64,
}
Fields§
§user_time: Duration
§system_time: Duration
§max_rss: i64
§page_faults: i64
§involuntary_context_switches: i64
§voluntary_context_switches: i64
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Rusage
impl RefUnwindSafe for Rusage
impl Send for Rusage
impl Sync for Rusage
impl Unpin for Rusage
impl UnwindSafe for Rusage
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