pub enum CacheResidencyConfigurationError {
InvalidOptions(String),
Pool(CachePoolError),
}Expand description
Invalid backend-neutral mutable-cache residency configuration.
Variants§
InvalidOptions(String)
Paged options were contradictory or unbounded.
Pool(CachePoolError)
Aggregate pool limits were invalid.
Trait Implementations§
Source§impl Clone for CacheResidencyConfigurationError
impl Clone for CacheResidencyConfigurationError
Source§fn clone(&self) -> CacheResidencyConfigurationError
fn clone(&self) -> CacheResidencyConfigurationError
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Eq for CacheResidencyConfigurationError
Source§impl Error for CacheResidencyConfigurationError
impl Error for CacheResidencyConfigurationError
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<CachePoolError> for CacheResidencyConfigurationError
impl From<CachePoolError> for CacheResidencyConfigurationError
Source§fn from(source: CachePoolError) -> Self
fn from(source: CachePoolError) -> Self
Converts to this type from the input type.
impl StructuralPartialEq for CacheResidencyConfigurationError
Auto Trait Implementations§
impl Freeze for CacheResidencyConfigurationError
impl RefUnwindSafe for CacheResidencyConfigurationError
impl Send for CacheResidencyConfigurationError
impl Sync for CacheResidencyConfigurationError
impl Unpin for CacheResidencyConfigurationError
impl UnsafeUnpin for CacheResidencyConfigurationError
impl UnwindSafe for CacheResidencyConfigurationError
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