pub enum ForgetPayloadError<OE> {
NoSuchEntry,
WrongEntry,
OperationError(OE),
}
Expand description
Returned when forgetting a payload fails.
Variants§
NoSuchEntry
No entry for the given subspace and path exists in this store.
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 ForgetPayloadError<OE>
impl<OE: Clone> Clone for ForgetPayloadError<OE>
Source§fn clone(&self) -> ForgetPayloadError<OE>
fn clone(&self) -> ForgetPayloadError<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 ForgetPayloadError<OE>
impl<OE: Debug> Debug for ForgetPayloadError<OE>
Source§impl<OE: Display + Error> Error for ForgetPayloadError<OE>
impl<OE: Display + Error> Error for ForgetPayloadError<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 ForgetPayloadError<OE>
impl<OE: Hash> Hash for ForgetPayloadError<OE>
Source§impl<OE: Ord> Ord for ForgetPayloadError<OE>
impl<OE: Ord> Ord for ForgetPayloadError<OE>
Source§fn cmp(&self, other: &ForgetPayloadError<OE>) -> Ordering
fn cmp(&self, other: &ForgetPayloadError<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 ForgetPayloadError<OE>
impl<OE: PartialEq> PartialEq for ForgetPayloadError<OE>
Source§impl<OE: PartialOrd> PartialOrd for ForgetPayloadError<OE>
impl<OE: PartialOrd> PartialOrd for ForgetPayloadError<OE>
impl<OE: Copy> Copy for ForgetPayloadError<OE>
impl<OE: Eq> Eq for ForgetPayloadError<OE>
impl<OE> StructuralPartialEq for ForgetPayloadError<OE>
Auto Trait Implementations§
impl<OE> Freeze for ForgetPayloadError<OE>where
OE: Freeze,
impl<OE> RefUnwindSafe for ForgetPayloadError<OE>where
OE: RefUnwindSafe,
impl<OE> Send for ForgetPayloadError<OE>where
OE: Send,
impl<OE> Sync for ForgetPayloadError<OE>where
OE: Sync,
impl<OE> Unpin for ForgetPayloadError<OE>where
OE: Unpin,
impl<OE> UnwindSafe for ForgetPayloadError<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