pub enum CacheError<E = Infallible> {
Disabled,
TooLarge,
Factory(E),
}Variants§
Trait Implementations§
Source§impl<E: Debug> Debug for CacheError<E>
impl<E: Debug> Debug for CacheError<E>
Auto Trait Implementations§
impl<E> Freeze for CacheError<E>where
E: Freeze,
impl<E> RefUnwindSafe for CacheError<E>where
E: RefUnwindSafe,
impl<E> Send for CacheError<E>where
E: Send,
impl<E> Sync for CacheError<E>where
E: Sync,
impl<E> Unpin for CacheError<E>where
E: Unpin,
impl<E> UnsafeUnpin for CacheError<E>where
E: UnsafeUnpin,
impl<E> UnwindSafe for CacheError<E>where
E: UnwindSafe,
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