#[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§
impl Copy for rusage
impl Eq for rusage
impl StructuralPartialEq for rusage
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)