pub enum Outcome {
Ok,
Error,
Timeout,
Cancelled,
Rejected,
Other(String),
}Expand description
Logical request outcome categories used by the public API.
Variants§
Ok
Request completed successfully.
Error
Request completed with an error.
Timeout
Request exceeded a timeout threshold.
Cancelled
Request was cancelled before completion.
Rejected
Request was rejected before normal execution.
Other(String)
Caller-provided custom outcome label.
Implementations§
Trait Implementations§
impl Eq for Outcome
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