pub enum ForgetEntryError<OE> {
WrongEntry,
OperationError(OE),
}
Expand description
Returned when forgetting an entry fails.
Variants§
WrongEntry
The operation supplied an expected payload_digest, but it did not match the digest of the entry.
OperationError(OE)
Something specific to this store implementation went wrong.
Trait Implementations§
Source§impl<OE: Clone> Clone for ForgetEntryError<OE>
impl<OE: Clone> Clone for ForgetEntryError<OE>
Source§fn clone(&self) -> ForgetEntryError<OE>
fn clone(&self) -> ForgetEntryError<OE>
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<OE: Debug> Debug for ForgetEntryError<OE>
impl<OE: Debug> Debug for ForgetEntryError<OE>
Source§impl<OE: Display + Error> Error for ForgetEntryError<OE>
impl<OE: Display + Error> Error for ForgetEntryError<OE>
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<OE: Hash> Hash for ForgetEntryError<OE>
impl<OE: Hash> Hash for ForgetEntryError<OE>
Source§impl<OE: Ord> Ord for ForgetEntryError<OE>
impl<OE: Ord> Ord for ForgetEntryError<OE>
Source§fn cmp(&self, other: &ForgetEntryError<OE>) -> Ordering
fn cmp(&self, other: &ForgetEntryError<OE>) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl<OE: PartialEq> PartialEq for ForgetEntryError<OE>
impl<OE: PartialEq> PartialEq for ForgetEntryError<OE>
Source§impl<OE: PartialOrd> PartialOrd for ForgetEntryError<OE>
impl<OE: PartialOrd> PartialOrd for ForgetEntryError<OE>
impl<OE: Copy> Copy for ForgetEntryError<OE>
impl<OE: Eq> Eq for ForgetEntryError<OE>
impl<OE> StructuralPartialEq for ForgetEntryError<OE>
Auto Trait Implementations§
impl<OE> Freeze for ForgetEntryError<OE>where
OE: Freeze,
impl<OE> RefUnwindSafe for ForgetEntryError<OE>where
OE: RefUnwindSafe,
impl<OE> Send for ForgetEntryError<OE>where
OE: Send,
impl<OE> Sync for ForgetEntryError<OE>where
OE: Sync,
impl<OE> Unpin for ForgetEntryError<OE>where
OE: Unpin,
impl<OE> UnwindSafe for ForgetEntryError<OE>where
OE: 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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more