pub enum CancelRunOutcome {
Requested,
CancelledBeforeStart,
AlreadyRequested,
AlreadyFinished,
}Expand description
Result of requesting cancellation for a run.
Variants§
Requested
Cancellation was signalled to a running execution.
CancelledBeforeStart
The queued run was cancelled before a worker started it.
AlreadyRequested
A cancellation request had already been sent.
AlreadyFinished
The run had already reached a terminal state.
Trait Implementations§
Source§impl Clone for CancelRunOutcome
impl Clone for CancelRunOutcome
impl Copy for CancelRunOutcome
Source§impl Debug for CancelRunOutcome
impl Debug for CancelRunOutcome
impl Eq for CancelRunOutcome
Source§impl PartialEq for CancelRunOutcome
impl PartialEq for CancelRunOutcome
impl StructuralPartialEq for CancelRunOutcome
Auto Trait Implementations§
impl Freeze for CancelRunOutcome
impl RefUnwindSafe for CancelRunOutcome
impl Send for CancelRunOutcome
impl Sync for CancelRunOutcome
impl Unpin for CancelRunOutcome
impl UnsafeUnpin for CancelRunOutcome
impl UnwindSafe for CancelRunOutcome
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.