pub enum MissedPolicy {
Skip,
RunLatest,
RunAll,
}Expand description
How to handle missed schedule executions.
Variants§
Skip
Skip missed executions
RunLatest
Run only the latest missed execution
RunAll
Run all missed executions
Trait Implementations§
Source§impl Clone for MissedPolicy
impl Clone for MissedPolicy
Source§fn clone(&self) -> MissedPolicy
fn clone(&self) -> MissedPolicy
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 MissedPolicy
impl Debug for MissedPolicy
Source§impl Default for MissedPolicy
impl Default for MissedPolicy
Source§fn default() -> MissedPolicy
fn default() -> MissedPolicy
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for MissedPolicy
impl<'de> Deserialize<'de> for MissedPolicy
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for MissedPolicy
impl PartialEq for MissedPolicy
Source§fn eq(&self, other: &MissedPolicy) -> bool
fn eq(&self, other: &MissedPolicy) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for MissedPolicy
impl Serialize for MissedPolicy
impl StructuralPartialEq for MissedPolicy
Auto Trait Implementations§
impl Freeze for MissedPolicy
impl RefUnwindSafe for MissedPolicy
impl Send for MissedPolicy
impl Sync for MissedPolicy
impl Unpin for MissedPolicy
impl UnsafeUnpin for MissedPolicy
impl UnwindSafe for MissedPolicy
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