pub enum ScheduleRuntimeError {
InvalidName {
reason: String,
},
InvalidCronExpression {
reason: String,
},
InvalidTimezone {
timezone: String,
},
InvalidInterval {
interval_ms: i64,
minimum_ms: i64,
},
InvalidMaxHistory {
max_history: i64,
maximum: i64,
},
MaxSchedulesExceeded {
maximum: u32,
},
InvalidScheduleRow {
schedule_id: String,
reason: String,
},
Interrupted,
}Variants§
InvalidName
InvalidCronExpression
InvalidTimezone
InvalidInterval
InvalidMaxHistory
MaxSchedulesExceeded
InvalidScheduleRow
Interrupted
Implementations§
Trait Implementations§
Source§impl Clone for ScheduleRuntimeError
impl Clone for ScheduleRuntimeError
Source§fn clone(&self) -> ScheduleRuntimeError
fn clone(&self) -> ScheduleRuntimeError
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 ScheduleRuntimeError
impl Debug for ScheduleRuntimeError
Source§impl<'de> Deserialize<'de> for ScheduleRuntimeError
impl<'de> Deserialize<'de> for ScheduleRuntimeError
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
Auto Trait Implementations§
impl Freeze for ScheduleRuntimeError
impl RefUnwindSafe for ScheduleRuntimeError
impl Send for ScheduleRuntimeError
impl Sync for ScheduleRuntimeError
impl Unpin for ScheduleRuntimeError
impl UnsafeUnpin for ScheduleRuntimeError
impl UnwindSafe for ScheduleRuntimeError
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