pub enum TerminalOutcome {
CleanShutdown,
StartupFailure {
error: RuntimeFailure,
},
RuntimeFailure {
error: RuntimeFailure,
},
RuntimeFailureDuringShutdown {
error: RuntimeFailure,
cleanup_error: RuntimeFailure,
},
RuntimeFailureWithShutdownTimeout {
error: RuntimeFailure,
},
ShutdownTimeout,
}Expand description
A successful terminal result returned to the embedding Runner.
Variants§
CleanShutdown
The App completed a bounded clean shutdown.
StartupFailure
The App could not start because a Module reported a startup failure.
Fields
§
error: RuntimeFailureRuntimeFailure
The running App reported a Runtime Failure during terminal cleanup.
Fields
§
error: RuntimeFailureRuntimeFailureDuringShutdown
The running App failed and cleanup reported a second Runtime Failure.
RuntimeFailureWithShutdownTimeout
The running App failed and cleanup then exceeded its global deadline.
Fields
§
error: RuntimeFailureShutdownTimeout
The App exceeded its one global shutdown deadline.
Trait Implementations§
Source§impl Clone for TerminalOutcome
impl Clone for TerminalOutcome
Source§fn clone(&self) -> TerminalOutcome
fn clone(&self) -> TerminalOutcome
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 TerminalOutcome
impl Debug for TerminalOutcome
impl Eq for TerminalOutcome
Source§impl PartialEq for TerminalOutcome
impl PartialEq for TerminalOutcome
impl StructuralPartialEq for TerminalOutcome
Auto Trait Implementations§
impl Freeze for TerminalOutcome
impl RefUnwindSafe for TerminalOutcome
impl Send for TerminalOutcome
impl Sync for TerminalOutcome
impl Unpin for TerminalOutcome
impl UnsafeUnpin for TerminalOutcome
impl UnwindSafe for TerminalOutcome
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