pub enum JobResult {
Success(Option<Value>),
Retry(String),
Fatal(String),
}Expand description
Result of job execution
Variants§
Success(Option<Value>)
Job succeeded with optional result
Retry(String)
Job failed but should retry
Fatal(String)
Job failed permanently
Trait Implementations§
Auto Trait Implementations§
impl Freeze for JobResult
impl RefUnwindSafe for JobResult
impl Send for JobResult
impl Sync for JobResult
impl Unpin for JobResult
impl UnsafeUnpin for JobResult
impl UnwindSafe for JobResult
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