Expand description
the struct of process’s CpuTime .
Fields
kernel_time: Stringuser_time: StringImplementations
sourceimpl CpuTime
impl CpuTime
sourcepub fn get_kernel_time(&self) -> String
pub fn get_kernel_time(&self) -> String
get kernel time of the process
sourcepub fn get_user_time(&self) -> String
pub fn get_user_time(&self) -> String
get user time of the process
Auto Trait Implementations
impl RefUnwindSafe for CpuTime
impl Send for CpuTime
impl Sync for CpuTime
impl Unpin for CpuTime
impl UnwindSafe for CpuTime
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more