pub struct WrapperGraceOutcomes {
pub exited: usize,
pub expired: usize,
}Expand description
Unix timeout --wrapper-grace outcomes when --test-wrapper is configured.
Both counters are always serialized (including 0) whenever --test-wrapper is
configured so callers can distinguish “no timeout used the grace period” from
older versions that did not record grace outcomes.
Fields§
§exited: usizeWrapper processes observed to exit after SIGTERM before SIGKILL escalation.
expired: usizeWrapper processes still running when --wrapper-grace elapsed (escalated to SIGKILL).
Trait Implementations§
Source§impl Clone for WrapperGraceOutcomes
impl Clone for WrapperGraceOutcomes
impl Copy for WrapperGraceOutcomes
Source§impl Debug for WrapperGraceOutcomes
impl Debug for WrapperGraceOutcomes
Source§impl Default for WrapperGraceOutcomes
impl Default for WrapperGraceOutcomes
impl Eq for WrapperGraceOutcomes
Source§impl PartialEq for WrapperGraceOutcomes
impl PartialEq for WrapperGraceOutcomes
Source§impl Serialize for WrapperGraceOutcomes
impl Serialize for WrapperGraceOutcomes
impl StructuralPartialEq for WrapperGraceOutcomes
Auto Trait Implementations§
impl Forget for WrapperGraceOutcomes
impl Freeze for WrapperGraceOutcomes
impl Move for WrapperGraceOutcomes
impl RefUnwindSafe for WrapperGraceOutcomes
impl Send for WrapperGraceOutcomes
impl Sync for WrapperGraceOutcomes
impl Unpin for WrapperGraceOutcomes
impl UnsafeUnpin for WrapperGraceOutcomes
impl UnwindSafe for WrapperGraceOutcomes
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.