pub enum SchedulerError {
InvalidCron,
ZeroInterval,
}Expand description
Configuration or expression parsing error for Scheduler.
Variants§
Trait Implementations§
Source§impl Clone for SchedulerError
impl Clone for SchedulerError
impl Copy for SchedulerError
Source§impl Debug for SchedulerError
impl Debug for SchedulerError
Source§impl Display for SchedulerError
Formats SchedulerError for diagnostics.
impl Display for SchedulerError
Formats SchedulerError for diagnostics.
impl Eq for SchedulerError
Source§impl Error for SchedulerError
Marks SchedulerError as a standard error type.
impl Error for SchedulerError
Marks SchedulerError as a standard error type.
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Source§impl PartialEq for SchedulerError
impl PartialEq for SchedulerError
impl StructuralPartialEq for SchedulerError
Auto Trait Implementations§
impl Forget for SchedulerError
impl Freeze for SchedulerError
impl Move for SchedulerError
impl RefUnwindSafe for SchedulerError
impl Send for SchedulerError
impl Sync for SchedulerError
impl Unpin for SchedulerError
impl UnsafeUnpin for SchedulerError
impl UnwindSafe for SchedulerError
Blanket Implementations§
impl<T> AnySend for T
impl<T> AnySendClone for T
impl<T> AnySendSync for T
impl<T> AnySendSyncClone for T
impl<T> AnySync for T
impl<T> AnySyncClone 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
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.