#[non_exhaustive]pub enum OperationFailure {
DeadlineElapsed,
ConnectionClosed(CloseReason),
MatchKeyMismatch {
expected: MatchKey,
received: MatchKey,
},
}Expand description
A mechanical failure observed by the connection owner.
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.
DeadlineElapsed
The original absolute deadline elapsed.
ConnectionClosed(CloseReason)
The owning connection epoch closed.
MatchKeyMismatch
The received reply named another live operation instead of the FIFO front.
Trait Implementations§
Source§impl Clone for OperationFailure
impl Clone for OperationFailure
impl Copy for OperationFailure
Source§impl Debug for OperationFailure
impl Debug for OperationFailure
impl Eq for OperationFailure
Source§impl PartialEq for OperationFailure
impl PartialEq for OperationFailure
impl StructuralPartialEq for OperationFailure
Auto Trait Implementations§
impl Freeze for OperationFailure
impl RefUnwindSafe for OperationFailure
impl Send for OperationFailure
impl Sync for OperationFailure
impl Unpin for OperationFailure
impl UnsafeUnpin for OperationFailure
impl UnwindSafe for OperationFailure
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