pub enum CancelReason {
Interrupt,
Terminate,
Timeout,
}Expand description
Why a run was asked to stop.
Variants§
Interrupt
Ctrl-C (SIGINT).
Terminate
SIGTERM, or on Windows Ctrl-Break, closing the console, logging off or shutting down.
Timeout
The run took longer than its timeout (--timeout, DRE_RUN_TIMEOUT, flags: run_timeout).
Implementations§
Trait Implementations§
Source§impl Clone for CancelReason
impl Clone for CancelReason
impl Copy for CancelReason
Source§impl Debug for CancelReason
impl Debug for CancelReason
impl Eq for CancelReason
Source§impl PartialEq for CancelReason
impl PartialEq for CancelReason
impl StructuralPartialEq for CancelReason
Auto Trait Implementations§
impl Freeze for CancelReason
impl RefUnwindSafe for CancelReason
impl Send for CancelReason
impl Sync for CancelReason
impl Unpin for CancelReason
impl UnsafeUnpin for CancelReason
impl UnwindSafe for CancelReason
Blanket Implementations§
impl<T> Allocation for T
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,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.