pub enum ActixRedisClientError {
MailboxError(MailboxError),
RedisError(RedisError),
Unknown(&'static str),
}
Expand description
Error type
Variants§
Trait Implementations§
Source§impl Debug for ActixRedisClientError
impl Debug for ActixRedisClientError
Source§impl Display for ActixRedisClientError
impl Display for ActixRedisClientError
Source§impl Fail for ActixRedisClientError
impl Fail for ActixRedisClientError
Source§fn cause(&self) -> Option<&dyn Fail>
fn cause(&self) -> Option<&dyn Fail>
Returns a reference to the underlying cause of this failure, if it
is an error that wraps other errors. Read more
Source§fn backtrace(&self) -> Option<&Backtrace>
fn backtrace(&self) -> Option<&Backtrace>
Returns a reference to the
Backtrace
carried by this failure, if it
carries one. Read moreSource§impl From<&'static str> for ActixRedisClientError
impl From<&'static str> for ActixRedisClientError
Source§impl From<MailboxError> for ActixRedisClientError
impl From<MailboxError> for ActixRedisClientError
Source§fn from(e: MailboxError) -> Self
fn from(e: MailboxError) -> Self
Converts to this type from the input type.
Source§impl From<RedisError> for ActixRedisClientError
impl From<RedisError> for ActixRedisClientError
Source§fn from(e: RedisError) -> Self
fn from(e: RedisError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for ActixRedisClientError
impl !RefUnwindSafe for ActixRedisClientError
impl Send for ActixRedisClientError
impl Sync for ActixRedisClientError
impl Unpin for ActixRedisClientError
impl !UnwindSafe for ActixRedisClientError
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