pub enum CacheKeyError {
TooLarge {
actual: usize,
maximum: usize,
},
}Variants§
Trait Implementations§
Source§impl Clone for CacheKeyError
impl Clone for CacheKeyError
Source§fn clone(&self) -> CacheKeyError
fn clone(&self) -> CacheKeyError
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 Copy for CacheKeyError
Source§impl Debug for CacheKeyError
impl Debug for CacheKeyError
Source§impl Display for CacheKeyError
impl Display for CacheKeyError
impl Eq for CacheKeyError
Source§impl Error for CacheKeyError
impl Error for CacheKeyError
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 CacheKeyError
impl PartialEq for CacheKeyError
impl StructuralPartialEq for CacheKeyError
Auto Trait Implementations§
impl Freeze for CacheKeyError
impl RefUnwindSafe for CacheKeyError
impl Send for CacheKeyError
impl Sync for CacheKeyError
impl Unpin for CacheKeyError
impl UnsafeUnpin for CacheKeyError
impl UnwindSafe for CacheKeyError
Blanket Implementations§
impl<T> Allocation for T
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