#[non_exhaustive]pub enum IoOutcome {
Completed,
Cancelled,
Failed,
}Expand description
Terminal engine result, distinct from caller cancellation or timeout.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Completed
Operation completed successfully.
Cancelled
Engine completed the operation through cancellation.
Failed
Engine reported a failure.
Implementations§
Trait Implementations§
impl Copy for IoOutcome
impl Eq for IoOutcome
impl StructuralPartialEq for IoOutcome
Auto Trait Implementations§
impl Forget for IoOutcome
impl Freeze for IoOutcome
impl Move for IoOutcome
impl RefUnwindSafe for IoOutcome
impl Send for IoOutcome
impl Sync for IoOutcome
impl Unpin for IoOutcome
impl UnsafeUnpin for IoOutcome
impl UnwindSafe for IoOutcome
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