pub enum CreateEntryError<StoreError> {
StoreError(StoreError),
AuthorisationTokenError,
}Expand description
The errors that can be encountered when creating an entry (from a producer emitting the payload and the ingredients for authorising it).
Variants§
StoreError(StoreError)
The store implementation encountered an internal error.
AuthorisationTokenError
Could not create an authorisation token for the created entry.
Trait Implementations§
Source§impl<StoreError: Clone> Clone for CreateEntryError<StoreError>
impl<StoreError: Clone> Clone for CreateEntryError<StoreError>
Source§fn clone(&self) -> CreateEntryError<StoreError>
fn clone(&self) -> CreateEntryError<StoreError>
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 CreateEntryError<StoreError>
impl<StoreError: Debug> Debug for CreateEntryError<StoreError>
Source§impl<StoreError> Display for CreateEntryError<StoreError>
impl<StoreError> Display for CreateEntryError<StoreError>
impl<StoreError: Eq> Eq for CreateEntryError<StoreError>
Source§impl<StoreError> Error for CreateEntryError<StoreError>
impl<StoreError> Error for CreateEntryError<StoreError>
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 From<Error> for CreateEntryError<PersistentStoreError>
impl From<Error> for CreateEntryError<PersistentStoreError>
Source§fn from(value: FjallError) -> Self
fn from(value: FjallError) -> Self
Converts to this type from the input type.
Source§impl From<Error> for CreateEntryError<PersistentStoreError>
impl From<Error> for CreateEntryError<PersistentStoreError>
Source§impl From<OperationsError<Error>> for CreateEntryError<PersistentStoreError>
impl From<OperationsError<Error>> for CreateEntryError<PersistentStoreError>
Source§fn from(value: OperationsError<Error>) -> Self
fn from(value: OperationsError<Error>) -> Self
Converts to this type from the input type.
Source§impl<StoreError: Hash> Hash for CreateEntryError<StoreError>
impl<StoreError: Hash> Hash for CreateEntryError<StoreError>
Source§impl<StoreError: Ord> Ord for CreateEntryError<StoreError>
impl<StoreError: Ord> Ord for CreateEntryError<StoreError>
Source§fn cmp(&self, other: &CreateEntryError<StoreError>) -> Ordering
fn cmp(&self, other: &CreateEntryError<StoreError>) -> Ordering
1.21.0 (const: unstable) · 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 CreateEntryError<StoreError>
impl<StoreError: PartialEq> PartialEq for CreateEntryError<StoreError>
Source§impl<StoreError: PartialOrd> PartialOrd for CreateEntryError<StoreError>
impl<StoreError: PartialOrd> PartialOrd for CreateEntryError<StoreError>
impl<StoreError: PartialEq> StructuralPartialEq for CreateEntryError<StoreError>
Auto Trait Implementations§
impl<StoreError> Freeze for CreateEntryError<StoreError>where
StoreError: Freeze,
impl<StoreError> RefUnwindSafe for CreateEntryError<StoreError>where
StoreError: RefUnwindSafe,
impl<StoreError> Send for CreateEntryError<StoreError>where
StoreError: Send,
impl<StoreError> Sync for CreateEntryError<StoreError>where
StoreError: Sync,
impl<StoreError> Unpin for CreateEntryError<StoreError>where
StoreError: Unpin,
impl<StoreError> UnsafeUnpin for CreateEntryError<StoreError>where
StoreError: UnsafeUnpin,
impl<StoreError> UnwindSafe for CreateEntryError<StoreError>where
StoreError: UnwindSafe,
Blanket Implementations§
Source§impl<T> AsErrorSource for Twhere
T: Error + 'static,
impl<T> AsErrorSource for Twhere
T: Error + 'static,
Source§fn as_error_source(&self) -> &(dyn Error + 'static)
fn as_error_source(&self) -> &(dyn Error + 'static)
For maximum effectiveness, this needs to be called as a method
to benefit from Rust’s automatic dereferencing of method
receivers.
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<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
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