pub enum DiagnosticOutcome {
Succeeded,
DomainError,
RuntimeFailure(RuntimeFailureKind),
}Expand description
An outcome that is safe to expose without including a Domain Error body.
Variants§
Succeeded
The operation or lifecycle phase completed successfully.
DomainError
The Capability returned a Domain Error; its body is deliberately absent.
RuntimeFailure(RuntimeFailureKind)
The Kernel returned a sanitized Runtime Failure category.
Trait Implementations§
Source§impl Clone for DiagnosticOutcome
impl Clone for DiagnosticOutcome
Source§fn clone(&self) -> DiagnosticOutcome
fn clone(&self) -> DiagnosticOutcome
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 moreimpl Copy for DiagnosticOutcome
Source§impl Debug for DiagnosticOutcome
impl Debug for DiagnosticOutcome
impl Eq for DiagnosticOutcome
Source§impl PartialEq for DiagnosticOutcome
impl PartialEq for DiagnosticOutcome
impl StructuralPartialEq for DiagnosticOutcome
Auto Trait Implementations§
impl Freeze for DiagnosticOutcome
impl RefUnwindSafe for DiagnosticOutcome
impl Send for DiagnosticOutcome
impl Sync for DiagnosticOutcome
impl Unpin for DiagnosticOutcome
impl UnsafeUnpin for DiagnosticOutcome
impl UnwindSafe for DiagnosticOutcome
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