pub enum RefreshOutcome {
Rescheduled(SystemTime),
Cancelled,
Unchanged,
}Variants§
Rescheduled(SystemTime)
New expiry; scheduler should (re)register for this time
Cancelled
No longer needed; scheduler should cancel future runs
Unchanged
Keep same schedule (no change)
Trait Implementations§
Source§impl Clone for RefreshOutcome
impl Clone for RefreshOutcome
Source§fn clone(&self) -> RefreshOutcome
fn clone(&self) -> RefreshOutcome
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 RefreshOutcome
impl Debug for RefreshOutcome
Source§impl<'de> Deserialize<'de> for RefreshOutcome
impl<'de> Deserialize<'de> for RefreshOutcome
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
impl Eq for RefreshOutcome
Source§impl PartialEq for RefreshOutcome
impl PartialEq for RefreshOutcome
Source§fn eq(&self, other: &RefreshOutcome) -> bool
fn eq(&self, other: &RefreshOutcome) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for RefreshOutcome
impl Serialize for RefreshOutcome
impl StructuralPartialEq for RefreshOutcome
Auto Trait Implementations§
impl Freeze for RefreshOutcome
impl RefUnwindSafe for RefreshOutcome
impl Send for RefreshOutcome
impl Sync for RefreshOutcome
impl Unpin for RefreshOutcome
impl UnsafeUnpin for RefreshOutcome
impl UnwindSafe for RefreshOutcome
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