pub enum CronEvent {
Fire {
job_id: String,
time: String,
},
Complete {
job_id: String,
time: String,
duration_ms: f64,
},
Error {
job_id: String,
time: String,
error: String,
},
}Expand description
A cron event emitted on each run.
Variants§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for CronEvent
impl<'de> Deserialize<'de> for CronEvent
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 StructuralPartialEq for CronEvent
Auto Trait Implementations§
impl Forget for CronEvent
impl Freeze for CronEvent
impl Move for CronEvent
impl RefUnwindSafe for CronEvent
impl Send for CronEvent
impl Sync for CronEvent
impl Unpin for CronEvent
impl UnsafeUnpin for CronEvent
impl UnwindSafe for CronEvent
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