#[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
sourceimpl Hash for rusage
impl Hash for rusage
sourcefn hash<__H: Hasher>(&self, state: &mut __H)
fn hash<__H: Hasher>(&self, state: &mut __H)
Feeds this value into the given [
Hasher
]. Read more1.3.0fn hash_slice<H>(data: &[Self], state: &mut H)where
H: Hasher,
fn hash_slice<H>(data: &[Self], state: &mut H)where
H: Hasher,
Feeds a slice of this type into the given [
Hasher
]. Read moreimpl Copy for rusage
impl Eq for rusage
impl StructuralEq for rusage
impl StructuralPartialEq for rusage
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
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstablefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more