#[non_exhaustive]pub enum ExitCategory {
Success,
Usage,
ConfigurationInvalid,
GuardRejected,
TargetNotFound,
OptimisticConflict,
OutcomeUnknown,
RepositoryUnavailable,
ConfirmationRequired,
DeadlineExceeded,
OutputFailure,
Internal,
}Expand description
One stable process exit category.
The numeric codes are fixed by the operator CLI contract and are part of the published interface.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Success
The command completed and its durable effect, if any, is committed.
Usage
The invocation could not be parsed against the closed grammar.
ConfigurationInvalid
Configuration was missing, unknown, out of bounds, or contradictory.
GuardRejected
A core guard rejected the action; no effect was applied.
TargetNotFound
The named target does not exist.
OptimisticConflict
The supplied expected version lost its compare-and-swap.
OutcomeUnknown
The durable outcome could not be determined.
This is not a failure. The caller replays the same operation identifier to learn the recorded outcome or to re-attempt the effect exactly once.
The repository was unavailable or its infrastructure failed.
ConfirmationRequired
A destructive command lacked or was denied its required confirmation.
DeadlineExceeded
The client deadline elapsed before the command completed.
OutputFailure
Standard output could not be written, including a closed pipe.
Internal
A defect. An internal error always emits a redacted diagnostic.
Implementations§
Source§impl ExitCategory
impl ExitCategory
Trait Implementations§
Source§impl Clone for ExitCategory
impl Clone for ExitCategory
Source§fn clone(&self) -> ExitCategory
fn clone(&self) -> ExitCategory
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreimpl Copy for ExitCategory
Source§impl Debug for ExitCategory
impl Debug for ExitCategory
Source§impl Display for ExitCategory
impl Display for ExitCategory
impl Eq for ExitCategory
Source§impl Hash for ExitCategory
impl Hash for ExitCategory
Source§impl Ord for ExitCategory
impl Ord for ExitCategory
Source§fn cmp(&self, other: &ExitCategory) -> Ordering
fn cmp(&self, other: &ExitCategory) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Source§impl PartialEq for ExitCategory
impl PartialEq for ExitCategory
Source§impl PartialOrd for ExitCategory
impl PartialOrd for ExitCategory
impl StructuralPartialEq for ExitCategory
Auto Trait Implementations§
impl Freeze for ExitCategory
impl RefUnwindSafe for ExitCategory
impl Send for ExitCategory
impl Sync for ExitCategory
impl Unpin for ExitCategory
impl UnsafeUnpin for ExitCategory
impl UnwindSafe for ExitCategory
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<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
key and return true if they are equal.Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§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> ⓘ
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> ⓘ
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