pub enum RetryReason {
Ask {
hash_slot: u16,
address: (String, u16),
},
Moved {
hash_slot: u16,
address: (String, u16),
},
}
Expand description
Internal Use
Gives a reason to retry sending a command to the Redis Server
Variants§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for RetryReason
impl RefUnwindSafe for RetryReason
impl Send for RetryReason
impl Sync for RetryReason
impl Unpin for RetryReason
impl UnwindSafe for RetryReason
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