#[non_exhaustive]pub enum TaskEndCause {
Completed,
Cancelled,
Expired,
Disconnected,
Shutdown,
Failed,
}Expand description
Reason why a message or request reached its terminal state.
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
Local write completed, or a matching final response was received.
Cancelled
Explicit cancellation, cancellation-group cancellation, or owner drop.
Expired
The operation deadline or processing timeout elapsed.
Disconnected
The connection ended before the operation could continue.
Shutdown
Client or engine shutdown terminated the operation.
Failed
Another processing error caused failure.
Trait Implementations§
Source§impl Clone for TaskEndCause
impl Clone for TaskEndCause
impl Copy for TaskEndCause
Source§impl Debug for TaskEndCause
impl Debug for TaskEndCause
impl Eq for TaskEndCause
Source§impl PartialEq for TaskEndCause
impl PartialEq for TaskEndCause
impl StructuralPartialEq for TaskEndCause
Auto Trait Implementations§
impl Freeze for TaskEndCause
impl RefUnwindSafe for TaskEndCause
impl Send for TaskEndCause
impl Sync for TaskEndCause
impl Unpin for TaskEndCause
impl UnsafeUnpin for TaskEndCause
impl UnwindSafe for TaskEndCause
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