#[repr(C)]pub struct rusage {Show 16 fields
pub ru_utime: timeval,
pub ru_stime: timeval,
pub ru_maxrss: c_long,
pub ru_ixrss: c_long,
pub ru_idrss: c_long,
pub ru_isrss: c_long,
pub ru_minflt: c_long,
pub ru_majflt: c_long,
pub ru_nswap: c_long,
pub ru_inblock: c_long,
pub ru_oublock: c_long,
pub ru_msgsnd: c_long,
pub ru_msgrcv: c_long,
pub ru_nsignals: c_long,
pub ru_nvcsw: c_long,
pub ru_nivcsw: c_long,
}
Fields
ru_utime: timeval
ru_stime: timeval
ru_maxrss: c_long
ru_ixrss: c_long
ru_idrss: c_long
ru_isrss: c_long
ru_minflt: c_long
ru_majflt: c_long
ru_nswap: c_long
ru_inblock: c_long
ru_oublock: c_long
ru_msgsnd: c_long
ru_msgrcv: c_long
ru_nsignals: c_long
ru_nvcsw: c_long
ru_nivcsw: c_long
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for rusage
impl Send for rusage
impl Sync for rusage
impl Unpin for rusage
impl UnwindSafe for rusage
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more