pub struct JobReleased {
pub job: QueuedJob,
pub delay: Duration,
pub error: String,
}Expand description
Fired when a job fails but has attempts left.
Fields§
§job: QueuedJobThe job going back on the queue.
delay: DurationHow long before it may run again.
error: StringWhy it failed.
Trait Implementations§
Source§impl Clone for JobReleased
impl Clone for JobReleased
Auto Trait Implementations§
impl Freeze for JobReleased
impl RefUnwindSafe for JobReleased
impl Send for JobReleased
impl Sync for JobReleased
impl Unpin for JobReleased
impl UnsafeUnpin for JobReleased
impl UnwindSafe for JobReleased
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.