Enum cached::stores::RedisCacheError
source · pub enum RedisCacheError {
RedisCacheError(RedisError),
PoolError(Error),
CacheDeserializationError {
cached_value: String,
error: Error,
},
CacheSerializationError {
error: Error,
},
}
Available on crate feature
redis_store
only.Variants§
Trait Implementations§
source§impl Debug for RedisCacheError
impl Debug for RedisCacheError
source§impl Display for RedisCacheError
impl Display for RedisCacheError
source§impl Error for RedisCacheError
impl Error for RedisCacheError
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()
source§impl From<Error> for RedisCacheError
impl From<Error> for RedisCacheError
source§impl From<RedisError> for RedisCacheError
impl From<RedisError> for RedisCacheError
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 RedisCacheError
impl !RefUnwindSafe for RedisCacheError
impl Send for RedisCacheError
impl Sync for RedisCacheError
impl Unpin for RedisCacheError
impl !UnwindSafe for RedisCacheError
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