Enum sea_streamer_redis::RedisErr
source · pub enum RedisErr {
Show 22 variants
MessageId(String),
StreamReadReply(String),
ProducerDied,
ConsumerDied,
ResponseError(String),
AuthenticationFailed(String),
TypeError(String),
ExecAbortError(String),
BusyLoadingError(String),
NoScriptError(String),
InvalidClientConfig(String),
Moved(String),
Ask(String),
TryAgain(String),
ClusterDown(String),
CrossSlot(String),
MasterDown(String),
IoError(String),
ClientError(String),
ExtensionError(String),
ReadOnly(String),
Unknown(String),
}
Expand description
Different types of Redis errors.
Variants§
MessageId(String)
StreamReadReply(String)
ProducerDied
ConsumerDied
ResponseError(String)
AuthenticationFailed(String)
TypeError(String)
ExecAbortError(String)
BusyLoadingError(String)
NoScriptError(String)
InvalidClientConfig(String)
Moved(String)
Ask(String)
TryAgain(String)
ClusterDown(String)
CrossSlot(String)
MasterDown(String)
IoError(String)
ClientError(String)
ExtensionError(String)
ReadOnly(String)
Unknown(String)
Trait Implementations§
source§impl Error for RedisErr
impl Error for RedisErr
1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
1.0.0 · source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Auto Trait Implementations§
impl Freeze for RedisErr
impl RefUnwindSafe for RedisErr
impl Send for RedisErr
impl Sync for RedisErr
impl Unpin for RedisErr
impl UnwindSafe for RedisErr
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