pub struct TerminateSummary {
pub attempted: usize,
pub ok: usize,
pub failed: usize,
}
Expand description
Summary of results from a bulk termination attempt.
attempted
: total number of child procs for which termination was attempted.ok
: number of procs successfully terminated (includes those that were already in a terminal state).failed
: number of procs that could not be terminated (e.g. signaling errors or lost lifecycle channel).
Fields§
§attempted: usize
Total number of child procs for which termination was attempted.
ok: usize
Number of procs that successfully reached a terminal state.
This count includes both procs that exited cleanly after
terminate(timeout)
and those that were already in a terminal
state before termination was attempted.
failed: usize
Number of procs that failed to terminate.
Failures typically arise from signaling errors (e.g., OS failure to deliver SIGTERM/SIGKILL) or a lost lifecycle channel, meaning the manager could no longer observe state transitions.
Trait Implementations§
Source§impl Debug for TerminateSummary
impl Debug for TerminateSummary
Auto Trait Implementations§
impl Freeze for TerminateSummary
impl RefUnwindSafe for TerminateSummary
impl Send for TerminateSummary
impl Sync for TerminateSummary
impl Unpin for TerminateSummary
impl UnwindSafe for TerminateSummary
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
§impl<T> FutureExt for T
impl<T> FutureExt for T
§fn with_context(self, otel_cx: Context) -> WithContext<Self>
fn with_context(self, otel_cx: Context) -> WithContext<Self>
§fn with_current_context(self) -> WithContext<Self>
fn with_current_context(self) -> WithContext<Self>
Source§impl<A, M> Handler<IndexedErasedUnbound<M>> for A
impl<A, M> Handler<IndexedErasedUnbound<M>> for A
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more