pub struct CpuTime {
pub user_ns: u64,
pub system_ns: u64,
}Expand description
CPU time for a process (user + system time in nanoseconds).
Fields§
§user_ns: u64User CPU time in nanoseconds
system_ns: u64System CPU time in nanoseconds
Implementations§
Trait Implementations§
impl Copy for CpuTime
impl Eq for CpuTime
impl StructuralPartialEq for CpuTime
Auto Trait Implementations§
impl Freeze for CpuTime
impl RefUnwindSafe for CpuTime
impl Send for CpuTime
impl Sync for CpuTime
impl Unpin for CpuTime
impl UnwindSafe for CpuTime
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