pub struct ProcessUsage {
pub pid: u32,
pub bytes: u64,
pub idle: Duration,
pub busy: Option<bool>,
}Expand description
Another registered process.
Fields§
§pid: u32§bytes: u64Bytes its memory cache held at its last update.
idle: DurationTime since that update.
busy: Option<bool>Whether it is serving a request; None from versions that did not
say (only the update’s age tells).
Trait Implementations§
Source§impl Clone for ProcessUsage
impl Clone for ProcessUsage
impl Copy for ProcessUsage
Source§impl Debug for ProcessUsage
impl Debug for ProcessUsage
impl Eq for ProcessUsage
Source§impl PartialEq for ProcessUsage
impl PartialEq for ProcessUsage
impl StructuralPartialEq for ProcessUsage
Auto Trait Implementations§
impl Forget for ProcessUsage
impl Freeze for ProcessUsage
impl Move for ProcessUsage
impl RefUnwindSafe for ProcessUsage
impl Send for ProcessUsage
impl Sync for ProcessUsage
impl Unpin for ProcessUsage
impl UnsafeUnpin for ProcessUsage
impl UnwindSafe for ProcessUsage
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