pub struct Checkpoint<'a> { /* private fields */ }Expand description
A checkpoint’s lazy observation. No tree walk occurs unless requested.
Implementations§
Source§impl Checkpoint<'_>
impl Checkpoint<'_>
Sourcepub fn phase_name(&self) -> &str
pub fn phase_name(&self) -> &str
Human-readable label; IDs disambiguate duplicate names.
Sourcepub fn try_summary(&self) -> Option<Summary>
pub fn try_summary(&self) -> Option<Summary>
Whole-job observation without waiting for a metadata lock.
Sourcepub fn try_snapshot(&self) -> Option<Snapshot>
pub fn try_snapshot(&self) -> Option<Snapshot>
Copy the tree only if metadata is immediately available.
Auto Trait Implementations§
impl<'a> Freeze for Checkpoint<'a>
impl<'a> RefUnwindSafe for Checkpoint<'a>
impl<'a> Send for Checkpoint<'a>
impl<'a> Sync for Checkpoint<'a>
impl<'a> Unpin for Checkpoint<'a>
impl<'a> UnsafeUnpin for Checkpoint<'a>
impl<'a> UnwindSafe for Checkpoint<'a>
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