Enum redis_driver::RedisErrorKind
source · pub enum RedisErrorKind {
Show 25 variants
Ask {
hash_slot: u16,
address: (String, u16),
},
BusyGroup,
ClusterDown,
CrossSlot,
Err,
InProg,
IoErr,
MasterDown,
MisConf,
Moved {
hash_slot: u16,
address: (String, u16),
},
NoAuth,
NoGoodSlave,
NoMasterLink,
NoPerm,
NoProto,
NoQuorum,
NotBusy,
OutOfMemory,
Readonly,
TryAgain,
UnKillable,
Unblocked,
WrongPass,
WrongType,
Other(String),
}
Expand description
Redis server error kind
Variants
Ask
BusyGroup
ClusterDown
CrossSlot
Err
InProg
IoErr
MasterDown
MisConf
Moved
NoAuth
NoGoodSlave
NoMasterLink
NoPerm
NoProto
NoQuorum
NotBusy
OutOfMemory
Readonly
TryAgain
UnKillable
Unblocked
WrongPass
WrongType
Other(String)
Trait Implementations
sourceimpl Clone for RedisErrorKind
impl Clone for RedisErrorKind
sourcefn clone(&self) -> RedisErrorKind
fn clone(&self) -> RedisErrorKind
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for RedisErrorKind
impl Debug for RedisErrorKind
sourceimpl Display for RedisErrorKind
impl Display for RedisErrorKind
Auto Trait Implementations
impl RefUnwindSafe for RedisErrorKind
impl Send for RedisErrorKind
impl Sync for RedisErrorKind
impl Unpin for RedisErrorKind
impl UnwindSafe for RedisErrorKind
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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