pub struct StallSnapshot { /* private fields */ }Expand description
Most recent automatic scope recovery, retained after its task records are reclaimed.
Implementations§
Source§impl StallSnapshot
impl StallSnapshot
Sourcepub fn policy(&self) -> StallPolicy
pub fn policy(&self) -> StallPolicy
Explicit policy that caused this observation; reporting alone never cancels work.
Sourcepub fn detected_at(&self) -> Instant
pub fn detected_at(&self) -> Instant
Monotonic detection time.
Sourcepub fn quiescent_for(&self) -> Duration
pub fn quiescent_for(&self) -> Duration
Observed quiescent interval before recovery.
Sourcepub fn tasks(&self) -> &[TaskSnapshot]
pub fn tasks(&self) -> &[TaskSnapshot]
Live tasks before abort, bounded by the configured task admission limit.
Trait Implementations§
Source§impl Clone for StallSnapshot
impl Clone for StallSnapshot
Source§impl Debug for StallSnapshot
impl Debug for StallSnapshot
impl Eq for StallSnapshot
Source§impl PartialEq for StallSnapshot
impl PartialEq for StallSnapshot
impl StructuralPartialEq for StallSnapshot
Auto Trait Implementations§
impl Forget for StallSnapshot
impl Freeze for StallSnapshot
impl RefUnwindSafe for StallSnapshot
impl Send for StallSnapshot
impl Sync for StallSnapshot
impl Unpin for StallSnapshot
impl UnsafeUnpin for StallSnapshot
impl UnwindSafe for StallSnapshot
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