#[repr(u8)]pub enum OperationOutcome {
Completed = 1,
Cancelled = 2,
DeadlineExceeded = 3,
OwnerCancelled = 4,
Panicked = 5,
Aborted = 6,
}Expand description
Why an accepted operation task finished, after its future was destroyed.
Completion means normal return, not business success. Explicit aborts are distinct from a cancellation branch selected by the task.
Variants§
Completed = 1
The future returned normally.
Cancelled = 2
The operation-local cancellation branch won.
DeadlineExceeded = 3
The operation’s deadline branch won.
OwnerCancelled = 4
The component owner’s cancellation branch won.
Panicked = 5
Polling or destroying the future panicked.
Aborted = 6
The future was discarded before selecting another terminal outcome.
Implementations§
Trait Implementations§
Source§impl Clone for OperationOutcome
impl Clone for OperationOutcome
impl Copy for OperationOutcome
Source§impl Debug for OperationOutcome
impl Debug for OperationOutcome
impl Eq for OperationOutcome
Source§impl PartialEq for OperationOutcome
impl PartialEq for OperationOutcome
impl StructuralPartialEq for OperationOutcome
Auto Trait Implementations§
impl Freeze for OperationOutcome
impl RefUnwindSafe for OperationOutcome
impl Send for OperationOutcome
impl Sync for OperationOutcome
impl Unpin for OperationOutcome
impl UnsafeUnpin for OperationOutcome
impl UnwindSafe for OperationOutcome
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