pub struct JobProcessed {
pub job: QueuedJob,
pub duration: Duration,
}Expand description
Fired after a job succeeds.
Fields§
§job: QueuedJobThe job that ran.
duration: DurationHow long handle took.
Trait Implementations§
Source§impl Clone for JobProcessed
impl Clone for JobProcessed
Auto Trait Implementations§
impl Freeze for JobProcessed
impl RefUnwindSafe for JobProcessed
impl Send for JobProcessed
impl Sync for JobProcessed
impl Unpin for JobProcessed
impl UnsafeUnpin for JobProcessed
impl UnwindSafe for JobProcessed
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Event for T
impl<T> Event for T
Source§fn event_name() -> &'static strwhere
Self: Sized,
fn event_name() -> &'static strwhere
Self: Sized,
A human-readable name, used by wildcard listeners and log output.
Always the Rust type path; see the trait docs.