pub enum MissedTickPolicy {
Skip,
CoalesceLatest,
BoundedCatchUp(NonZeroUsize),
}Expand description
Policy for ticks that arrive while all run slots are occupied.
Variants§
Skip
Discard the missed tick.
CoalesceLatest
Retain at most one pending intent and run it when a slot becomes free.
BoundedCatchUp(NonZeroUsize)
Retain at most max_pending intents and run them as slots become free.
Trait Implementations§
Source§impl Clone for MissedTickPolicy
impl Clone for MissedTickPolicy
impl Copy for MissedTickPolicy
Source§impl Debug for MissedTickPolicy
impl Debug for MissedTickPolicy
impl Eq for MissedTickPolicy
Source§impl PartialEq for MissedTickPolicy
impl PartialEq for MissedTickPolicy
Source§impl Serialize for MissedTickPolicy
impl Serialize for MissedTickPolicy
impl StructuralPartialEq for MissedTickPolicy
Auto Trait Implementations§
impl Freeze for MissedTickPolicy
impl RefUnwindSafe for MissedTickPolicy
impl Send for MissedTickPolicy
impl Sync for MissedTickPolicy
impl Unpin for MissedTickPolicy
impl UnsafeUnpin for MissedTickPolicy
impl UnwindSafe for MissedTickPolicy
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