pub enum CompletionOutcome {
Completed(RunResult),
CompletedWithoutResult,
Abandoned(String),
RuntimeTerminated(String),
}Expand description
Outcome delivered to a completion waiter.
Variants§
Completed(RunResult)
The input was successfully consumed and produced a result.
CompletedWithoutResult
The input was consumed but produced no RunResult (e.g. context-append ops).
Abandoned(String)
The input was abandoned before completing.
RuntimeTerminated(String)
The runtime was stopped or destroyed while the input was pending.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for CompletionOutcome
impl RefUnwindSafe for CompletionOutcome
impl Send for CompletionOutcome
impl Sync for CompletionOutcome
impl Unpin for CompletionOutcome
impl UnsafeUnpin for CompletionOutcome
impl UnwindSafe for CompletionOutcome
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