Struct rusage
#[repr(C)]
pub struct rusage { 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: timevalru_stime: timevalru_maxrss: c_longru_ixrss: c_longru_idrss: c_longru_isrss: c_longru_minflt: c_longru_majflt: c_longru_nswap: c_longru_inblock: c_longru_oublock: c_longru_msgsnd: c_longru_msgrcv: c_longru_nsignals: c_longru_nvcsw: c_longru_nivcsw: c_long
Trait Implementations
impl Clone for rusage
fn clone(&self) -> Self
impl Copy for rusage
impl Debug for rusage
fn fmt(&self, f: &mut Formatter<'_>) -> Result
impl Eq for rusage
impl Hash for rusage
fn hash<__H: Hasher>(&self, state: &mut __H)
impl PartialEq for rusage
fn eq(&self, other: &Self) -> bool
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 UnsafeUnpin for rusage
impl UnwindSafe for rusage
Blanket Implementations
impl<T> Any for rusage
where
T: 'static + ?Sized,
fn type_id(&self) -> TypeId
impl<T> Borrow<T> for rusage
where
T: ?Sized,
fn borrow(&self) -> &T
impl<T> BorrowMut<T> for rusage
where
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
impl<T> CloneToUninit for rusage
where
T: Clone,
unsafe fn clone_to_uninit(&self, dest: *mut u8)
impl<T> From<T> for rusage
fn from(t: T) -> TReturns the argument unchanged.
impl<T, U> Into<U> for rusage
where
U: From<T>,
fn into(self) -> UCalls
U::from(self).That is, this conversion is whatever the implementation of
[From]<T> for Uchooses to do.
impl<T, U> TryFrom<U> for rusage
where
U: Into<T>,
type Error = never;fn try_from(value: U) -> Result<T, never>
impl<T, U> TryInto<U> for rusage
where
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error;fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>