pub enum EpochTransitionBehavior {
AbortAll,
DrainExecuting,
Fail,
Ignore,
}Expand description
Behavior when an epoch transition occurs.
Variants§
AbortAll
Abort all pending operations immediately.
DrainExecuting
Allow currently-executing operations to complete.
Fail
Fail fast with an error.
Ignore
Ignore epoch transitions (epoch-agnostic operations).
Trait Implementations§
Source§impl Clone for EpochTransitionBehavior
impl Clone for EpochTransitionBehavior
Source§fn clone(&self) -> EpochTransitionBehavior
fn clone(&self) -> EpochTransitionBehavior
Returns a duplicate 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 EpochTransitionBehavior
impl Debug for EpochTransitionBehavior
Source§impl Default for EpochTransitionBehavior
impl Default for EpochTransitionBehavior
Source§fn default() -> EpochTransitionBehavior
fn default() -> EpochTransitionBehavior
Returns the “default value” for a type. Read more
Source§impl PartialEq for EpochTransitionBehavior
impl PartialEq for EpochTransitionBehavior
impl Copy for EpochTransitionBehavior
impl Eq for EpochTransitionBehavior
impl StructuralPartialEq for EpochTransitionBehavior
Auto Trait Implementations§
impl Freeze for EpochTransitionBehavior
impl RefUnwindSafe for EpochTransitionBehavior
impl Send for EpochTransitionBehavior
impl Sync for EpochTransitionBehavior
impl Unpin for EpochTransitionBehavior
impl UnsafeUnpin for EpochTransitionBehavior
impl UnwindSafe for EpochTransitionBehavior
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, _span: NoopSpan) -> Self
fn instrument(self, _span: NoopSpan) -> Self
Instruments this future with a span (no-op when disabled).
Source§fn in_current_span(self) -> Self
fn in_current_span(self) -> Self
Instruments this future with the current span (no-op when disabled).