pub enum CronEvent {
Fire {
job_id: String,
time: DateTime<Utc>,
},
Complete {
job_id: String,
time: DateTime<Utc>,
duration_ms: f64,
},
Error {
job_id: String,
time: DateTime<Utc>,
error: String,
},
}Expand description
A cron event emitted on each run.
Variants§
Trait Implementations§
Auto Trait Implementations§
impl Freeze 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