pub enum FusionCacheError {
Other,
SystemCorruption,
FactoryError(String),
FactoryTimeout,
InitializationError(String),
RedisError(String),
}
Expand description
Errors that can occur during cache operations.
Variants§
Other
A generic error occurred
SystemCorruption
System is in an inconsistent state (e.g., in-flight request tracking corrupted)
FactoryError(String)
The factory failed to generate a value
FactoryTimeout
The factory operation timed out
InitializationError(String)
An error occurred during initialization of the cache
RedisError(String)
An error occurred during Redis operations
Trait Implementations§
Source§impl Clone for FusionCacheError
impl Clone for FusionCacheError
Source§fn clone(&self) -> FusionCacheError
fn clone(&self) -> FusionCacheError
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for FusionCacheError
impl Debug for FusionCacheError
Source§impl Display for FusionCacheError
impl Display for FusionCacheError
Source§impl From<RedisError> for FusionCacheError
impl From<RedisError> for FusionCacheError
Source§fn from(error: RedisError) -> Self
fn from(error: RedisError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for FusionCacheError
impl RefUnwindSafe for FusionCacheError
impl Send for FusionCacheError
impl Sync for FusionCacheError
impl Unpin for FusionCacheError
impl UnwindSafe for FusionCacheError
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