Enum redis_module::rediserror::RedisError
source · [−]Variants
WrongArity
Str(&'static str)
String(String)
WrongType
Implementations
sourceimpl RedisError
impl RedisError
pub fn nonexistent_key() -> Self
pub fn short_read() -> Self
Trait Implementations
sourceimpl Debug for RedisError
impl Debug for RedisError
sourceimpl Display for RedisError
impl Display for RedisError
sourceimpl From<RedisError> for Error
impl From<RedisError> for Error
sourcefn from(err: RedisError) -> Self
fn from(err: RedisError) -> Self
Converts to this type from the input type.
Auto Trait Implementations
impl RefUnwindSafe for RedisError
impl Send for RedisError
impl Sync for RedisError
impl Unpin for RedisError
impl UnwindSafe for RedisError
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more