pub enum SchedulerEvent {
Started,
Stopped,
JobStarted {
job_id: String,
execution_id: String,
},
JobCompleted {
job_id: String,
execution_id: String,
},
JobFailed {
job_id: String,
execution_id: String,
error: String,
},
JobTimeout {
job_id: String,
execution_id: String,
},
}Expand description
Scheduler events for monitoring
Variants§
Started
Scheduler started
Stopped
Scheduler stopped
JobStarted
Job started execution
JobCompleted
Job completed successfully
JobFailed
Job failed
JobTimeout
Job timed out
Trait Implementations§
Source§impl Clone for SchedulerEvent
impl Clone for SchedulerEvent
Source§fn clone(&self) -> SchedulerEvent
fn clone(&self) -> SchedulerEvent
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for SchedulerEvent
impl RefUnwindSafe for SchedulerEvent
impl Send for SchedulerEvent
impl Sync for SchedulerEvent
impl Unpin for SchedulerEvent
impl UnsafeUnpin for SchedulerEvent
impl UnwindSafe for SchedulerEvent
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