pub enum CacheListPushBackError<E: EncodeError> {
EncodeFailed {
cause: E,
},
CacheError(Error),
}Expand description
An error occurred when pushing a value to the back of a list in the cache.
Variants§
EncodeFailed
The provided value could not be encoded.
Fields
§
cause: EThe underlying encoding error.
CacheError(Error)
An error occurred when calling the host cache function.
Trait Implementations§
Source§impl<E: Debug + EncodeError> Debug for CacheListPushBackError<E>
impl<E: Debug + EncodeError> Debug for CacheListPushBackError<E>
Source§impl<E: EncodeError> Display for CacheListPushBackError<E>
impl<E: EncodeError> Display for CacheListPushBackError<E>
Source§impl<E: EncodeError> Error for CacheListPushBackError<E>
impl<E: EncodeError> Error for CacheListPushBackError<E>
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<E: EncodeError> From<Error> for CacheListPushBackError<E>
impl<E: EncodeError> From<Error> for CacheListPushBackError<E>
Auto Trait Implementations§
impl<E> Freeze for CacheListPushBackError<E>where
E: Freeze,
impl<E> RefUnwindSafe for CacheListPushBackError<E>where
E: RefUnwindSafe,
impl<E> Send for CacheListPushBackError<E>where
E: Send,
impl<E> Sync for CacheListPushBackError<E>where
E: Sync,
impl<E> Unpin for CacheListPushBackError<E>where
E: Unpin,
impl<E> UnsafeUnpin for CacheListPushBackError<E>where
E: UnsafeUnpin,
impl<E> UnwindSafe for CacheListPushBackError<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