pub enum RedisDeleteError {
RedisError(RedisError),
StatusMessage {
status: String,
},
UnexpectedValueResponse {
value: Option<Value>,
},
}Expand description
An error occurred while deleting a redis value.
Variants§
RedisError(RedisError)
An error occurred while calling the host redis function.
StatusMessage
Redis returned a status message.
UnexpectedValueResponse
Redis returned a value in response. (Delete expects an “okay” response)
Trait Implementations§
Source§impl Debug for RedisDeleteError
impl Debug for RedisDeleteError
Source§impl Display for RedisDeleteError
impl Display for RedisDeleteError
Source§impl Error for RedisDeleteError
impl Error for RedisDeleteError
Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns 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()
Source§impl From<RedisError> for RedisDeleteError
impl From<RedisError> for RedisDeleteError
Source§fn from(source: RedisError) -> Self
fn from(source: RedisError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl !Freeze for RedisDeleteError
impl RefUnwindSafe for RedisDeleteError
impl Send for RedisDeleteError
impl Sync for RedisDeleteError
impl Unpin for RedisDeleteError
impl UnwindSafe for RedisDeleteError
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