pub enum RexecutorError {
BackendError(BackendError),
GlobalBackend,
EncodeError(Error),
}Expand description
Errors that can occur when working with rexecutor.
Variants§
BackendError(BackendError)
Errors that result from the specific backend chosen.
GlobalBackend
This error results from trying to enqueue a job to the global backend when it is not set or when trying to set the global backend multiple times.
EncodeError(Error)
Error encoding or decoding data from json.
Trait Implementations§
Source§impl Debug for RexecutorError
impl Debug for RexecutorError
Source§impl Display for RexecutorError
impl Display for RexecutorError
Source§impl Error for RexecutorError
impl Error for RexecutorError
Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Source§impl From<BackendError> for RexecutorError
impl From<BackendError> for RexecutorError
Source§fn from(source: BackendError) -> Self
fn from(source: BackendError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for RexecutorError
impl !RefUnwindSafe for RexecutorError
impl Send for RexecutorError
impl Sync for RexecutorError
impl Unpin for RexecutorError
impl !UnwindSafe for RexecutorError
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