pub struct TimeoutEnforcementReport {
pub cancellation_requested: bool,
pub cancellation_observed: bool,
pub cancellation_observation_latency: Option<Duration>,
pub cadence_threshold: Duration,
pub watchdog_joined: bool,
pub cooperation: TimeoutCooperation,
}Expand description
Inspectable timeout-enforcement report for one attempt.
Fields§
§cancellation_requested: boolTrue if the timeout watchdog requested cancellation while work was active.
cancellation_observed: boolTrue if a handler poll observed cancellation.
cancellation_observation_latency: Option<Duration>Latency from cancellation request to first observed cancellation poll.
cadence_threshold: DurationCadence threshold used to classify timeout cooperation.
watchdog_joined: boolTrue if a watchdog worker was started and deterministically joined.
cooperation: TimeoutCooperationCooperative-cancellation interpretation for metrics and gate assertions.
Trait Implementations§
Source§impl Clone for TimeoutEnforcementReport
impl Clone for TimeoutEnforcementReport
Source§fn clone(&self) -> TimeoutEnforcementReport
fn clone(&self) -> TimeoutEnforcementReport
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for TimeoutEnforcementReport
impl Debug for TimeoutEnforcementReport
Source§impl PartialEq for TimeoutEnforcementReport
impl PartialEq for TimeoutEnforcementReport
impl Eq for TimeoutEnforcementReport
impl StructuralPartialEq for TimeoutEnforcementReport
Auto Trait Implementations§
impl Freeze for TimeoutEnforcementReport
impl RefUnwindSafe for TimeoutEnforcementReport
impl Send for TimeoutEnforcementReport
impl Sync for TimeoutEnforcementReport
impl Unpin for TimeoutEnforcementReport
impl UnsafeUnpin for TimeoutEnforcementReport
impl UnwindSafe for TimeoutEnforcementReport
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