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,
}
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
Trait Implementations§
Source§impl Clone for RedisErrorKind
impl Clone for RedisErrorKind
Source§fn clone(&self) -> RedisErrorKind
fn clone(&self) -> RedisErrorKind
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for RedisErrorKind
impl Debug for RedisErrorKind
Source§impl Display for RedisErrorKind
impl Display for RedisErrorKind
Source§impl FromStr for RedisErrorKind
impl FromStr for RedisErrorKind
Source§impl PartialEq for RedisErrorKind
impl PartialEq for RedisErrorKind
impl Eq for RedisErrorKind
impl StructuralPartialEq for RedisErrorKind
Auto Trait Implementations§
impl Freeze for RedisErrorKind
impl RefUnwindSafe for RedisErrorKind
impl Send for RedisErrorKind
impl Sync for RedisErrorKind
impl Unpin for RedisErrorKind
impl UnwindSafe for RedisErrorKind
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