pub enum BoundedCompletionOutcome {
Completed,
DeadlineExceeded {
cancellation: CompletionCancellationMode,
},
}Expand description
Stable result of observing one completion through an explicit bounded policy.
Variants§
Completed
Exact backend completion was observed before the deadline.
DeadlineExceeded
The deadline expired and the backend safely applied the selected disposition.
Fields
§
cancellation: CompletionCancellationModeCancellation or retained-orphan mechanism actually applied.
Trait Implementations§
Source§impl Clone for BoundedCompletionOutcome
impl Clone for BoundedCompletionOutcome
Source§fn clone(&self) -> BoundedCompletionOutcome
fn clone(&self) -> BoundedCompletionOutcome
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 BoundedCompletionOutcome
Source§impl Debug for BoundedCompletionOutcome
impl Debug for BoundedCompletionOutcome
impl Eq for BoundedCompletionOutcome
Source§impl PartialEq for BoundedCompletionOutcome
impl PartialEq for BoundedCompletionOutcome
impl StructuralPartialEq for BoundedCompletionOutcome
Auto Trait Implementations§
impl Freeze for BoundedCompletionOutcome
impl RefUnwindSafe for BoundedCompletionOutcome
impl Send for BoundedCompletionOutcome
impl Sync for BoundedCompletionOutcome
impl Unpin for BoundedCompletionOutcome
impl UnsafeUnpin for BoundedCompletionOutcome
impl UnwindSafe for BoundedCompletionOutcome
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