pub enum RedisPollError {
KeepAliveError(RedisError),
EnqueueScheduledError(RedisError),
PollNextError(RedisError),
EnqueueError(SendError),
AckError(RedisError),
ReenqueueOrphanedError(RedisError),
}
Expand description
Errors that can occur while polling a Redis backend.
Variants§
KeepAliveError(RedisError)
Error during a keep-alive heartbeat.
EnqueueScheduledError(RedisError)
Error during enqueueing scheduled tasks.
PollNextError(RedisError)
Error during polling for the next task or message.
EnqueueError(SendError)
Error during enqueueing tasks for worker consumption.
AckError(RedisError)
Error during acknowledgment of tasks.
ReenqueueOrphanedError(RedisError)
Error during re-enqueuing orphaned tasks.
Trait Implementations§
Source§impl Debug for RedisPollError
impl Debug for RedisPollError
Source§impl Display for RedisPollError
impl Display for RedisPollError
Source§impl Error for RedisPollError
impl Error for RedisPollError
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()
Auto Trait Implementations§
impl Freeze for RedisPollError
impl !RefUnwindSafe for RedisPollError
impl Send for RedisPollError
impl Sync for RedisPollError
impl Unpin for RedisPollError
impl !UnwindSafe for RedisPollError
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