pub enum RedisError {
WrongArity,
Str(&'static str),
String(String),
WrongType,
}
Variants§
Implementations§
Source§impl RedisError
impl RedisError
pub const fn nonexistent_key() -> Self
pub const fn short_read() -> Self
Trait Implementations§
Source§impl Debug for RedisError
impl Debug for RedisError
Source§impl Display for RedisError
impl Display for RedisError
Source§impl<'root> From<ErrorReply<'root>> for RedisError
impl<'root> From<ErrorReply<'root>> for RedisError
Source§fn from(err: ErrorReply<'root>) -> Self
fn from(err: ErrorReply<'root>) -> Self
Converts to this type from the input type.
Source§impl From<RedisError> for Error
impl From<RedisError> for Error
Source§fn from(err: RedisError) -> Self
fn from(err: RedisError) -> Self
Converts to this type from the input type.
Source§impl From<RedisError> for RedisValueResult
impl From<RedisError> for RedisValueResult
Source§fn from(v: RedisError) -> Self
fn from(v: RedisError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for RedisError
impl RefUnwindSafe for RedisError
impl Send for RedisError
impl Sync for RedisError
impl Unpin for RedisError
impl UnwindSafe for RedisError
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