pub enum PayloadProducerError<StoreError> {
StoreError(StoreError),
PayloadWasRemoved,
}Expand description
The errors that can be encountered when producing a payload.
Variants§
StoreError(StoreError)
The store implementation encountered an internal error.
PayloadWasRemoved
The entry payload has been pruned or was forgotten.
Trait Implementations§
Source§impl<StoreError: Clone> Clone for PayloadProducerError<StoreError>
impl<StoreError: Clone> Clone for PayloadProducerError<StoreError>
Source§fn clone(&self) -> PayloadProducerError<StoreError>
fn clone(&self) -> PayloadProducerError<StoreError>
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<StoreError: Debug> Debug for PayloadProducerError<StoreError>
impl<StoreError: Debug> Debug for PayloadProducerError<StoreError>
Source§impl<StoreError: Hash> Hash for PayloadProducerError<StoreError>
impl<StoreError: Hash> Hash for PayloadProducerError<StoreError>
Source§impl<StoreError: Ord> Ord for PayloadProducerError<StoreError>
impl<StoreError: Ord> Ord for PayloadProducerError<StoreError>
Source§fn cmp(&self, other: &PayloadProducerError<StoreError>) -> Ordering
fn cmp(&self, other: &PayloadProducerError<StoreError>) -> 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<StoreError: PartialEq> PartialEq for PayloadProducerError<StoreError>
impl<StoreError: PartialEq> PartialEq for PayloadProducerError<StoreError>
Source§fn eq(&self, other: &PayloadProducerError<StoreError>) -> bool
fn eq(&self, other: &PayloadProducerError<StoreError>) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl<StoreError: PartialOrd> PartialOrd for PayloadProducerError<StoreError>
impl<StoreError: PartialOrd> PartialOrd for PayloadProducerError<StoreError>
impl<StoreError: Copy> Copy for PayloadProducerError<StoreError>
impl<StoreError: Eq> Eq for PayloadProducerError<StoreError>
impl<StoreError> StructuralPartialEq for PayloadProducerError<StoreError>
Auto Trait Implementations§
impl<StoreError> Freeze for PayloadProducerError<StoreError>where
StoreError: Freeze,
impl<StoreError> RefUnwindSafe for PayloadProducerError<StoreError>where
StoreError: RefUnwindSafe,
impl<StoreError> Send for PayloadProducerError<StoreError>where
StoreError: Send,
impl<StoreError> Sync for PayloadProducerError<StoreError>where
StoreError: Sync,
impl<StoreError> Unpin for PayloadProducerError<StoreError>where
StoreError: Unpin,
impl<StoreError> UnwindSafe for PayloadProducerError<StoreError>where
StoreError: 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