pub enum Snapshot {
Complete(Vec<Proc>),
Partial,
Unavailable,
}Expand description
What one look at the tree produced. Only Complete is ever measured
from: a snapshot that stopped short would read a missing process as zero
work, which is the one error this module must never make in the
“stuck” direction.
Variants§
Complete(Vec<Proc>)
Partial
A bound was hit, or part of the tree could not be listed.
The root itself could not be read (gone, or not measurable here).
Trait Implementations§
impl Eq for Snapshot
impl StructuralPartialEq for Snapshot
Auto Trait Implementations§
impl Freeze for Snapshot
impl RefUnwindSafe for Snapshot
impl Send for Snapshot
impl Sync for Snapshot
impl Unpin for Snapshot
impl UnsafeUnpin for Snapshot
impl UnwindSafe for Snapshot
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