pub enum Outcome {
Success,
Failure {
retryable: bool,
retry_after: Option<Duration>,
message: Arc<str>,
},
Cancelled,
}Expand description
Result of one attempt, reported by the executor.
Variants§
Success
The attempt succeeded.
Failure
The attempt failed.
Fields
Cancelled
The executor observed cancellation.
Implementations§
Trait Implementations§
impl StructuralPartialEq for Outcome
Auto Trait Implementations§
impl Freeze for Outcome
impl RefUnwindSafe for Outcome
impl Send for Outcome
impl Sync for Outcome
impl Unpin for Outcome
impl UnsafeUnpin for Outcome
impl UnwindSafe for Outcome
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