Enum a10::cancel::CancelResult
source · pub enum CancelResult {
Canceled,
NotStarted,
QueueFull,
}
Expand description
Result of a cancelation attempt.
Variants§
Canceled
Operation was cancelled asynchronously.
NotStarted
Operation was not started.
QueueFull
Operation queue is currently full, can’t cancel the operation.
To resolve this call Ring::poll
or use Cancel::cancel
to await
the cancelation.
Trait Implementations§
source§impl Clone for CancelResult
impl Clone for CancelResult
source§fn clone(&self) -> CancelResult
fn clone(&self) -> CancelResult
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for CancelResult
impl Debug for CancelResult
impl Copy for CancelResult
Auto Trait Implementations§
impl Freeze for CancelResult
impl RefUnwindSafe for CancelResult
impl Send for CancelResult
impl Sync for CancelResult
impl Unpin for CancelResult
impl UnwindSafe for CancelResult
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