pub enum JobQueueError {
MalformedJob,
RedisError(RedisError),
}Variants§
MalformedJob
RedisError(RedisError)
Trait Implementations§
Source§impl Debug for JobQueueError
impl Debug for JobQueueError
Source§impl Display for JobQueueError
impl Display for JobQueueError
Source§impl Error for JobQueueError
impl Error for JobQueueError
1.30.0 · 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<RedisError> for JobQueueError
Available on crate feature redis only.
impl From<RedisError> for JobQueueError
Available on crate feature
redis only.Source§fn from(value: RedisError) -> Self
fn from(value: RedisError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for JobQueueError
impl !RefUnwindSafe for JobQueueError
impl Send for JobQueueError
impl Sync for JobQueueError
impl Unpin for JobQueueError
impl !UnwindSafe for JobQueueError
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