pub enum CacheConfigError {
ZeroCapacity,
}Expand description
Invalid cache definition.
Variants§
ZeroCapacity
Zero capacity could never retain accepted ownership.
Trait Implementations§
Source§impl Clone for CacheConfigError
impl Clone for CacheConfigError
Source§fn clone(&self) -> CacheConfigError
fn clone(&self) -> CacheConfigError
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 CacheConfigError
impl Debug for CacheConfigError
Source§impl Display for CacheConfigError
impl Display for CacheConfigError
Source§impl Error for CacheConfigError
impl Error for CacheConfigError
1.30.0 · 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 PartialEq for CacheConfigError
impl PartialEq for CacheConfigError
impl Copy for CacheConfigError
impl Eq for CacheConfigError
impl StructuralPartialEq for CacheConfigError
Auto Trait Implementations§
impl Freeze for CacheConfigError
impl RefUnwindSafe for CacheConfigError
impl Send for CacheConfigError
impl Sync for CacheConfigError
impl Unpin for CacheConfigError
impl UnsafeUnpin for CacheConfigError
impl UnwindSafe for CacheConfigError
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