pub enum ConfirmMessageError<StorageError> {
SecretTreeError(SecretTreeError),
FutureEpoch,
StorageError(StorageError),
}Available on crate feature
virtual-clients-draft and (32-bit or 64-bit) only.Expand description
Confirm message error
Variants§
SecretTreeError(SecretTreeError)
See SecretTreeError for more details.
FutureEpoch
The requested epoch is newer than the group’s current epoch.
StorageError(StorageError)
Error writing to storage.
Trait Implementations§
Source§impl<StorageError: Clone> Clone for ConfirmMessageError<StorageError>
impl<StorageError: Clone> Clone for ConfirmMessageError<StorageError>
Source§fn clone(&self) -> ConfirmMessageError<StorageError>
fn clone(&self) -> ConfirmMessageError<StorageError>
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<StorageError: Debug> Debug for ConfirmMessageError<StorageError>
impl<StorageError: Debug> Debug for ConfirmMessageError<StorageError>
Source§impl<StorageError> Display for ConfirmMessageError<StorageError>where
StorageError: Display,
impl<StorageError> Display for ConfirmMessageError<StorageError>where
StorageError: Display,
Source§impl<StorageError> Error for ConfirmMessageError<StorageError>
impl<StorageError> Error for ConfirmMessageError<StorageError>
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<StorageError> From<ConfirmMessageError<StorageError>> for CreateMessageError<StorageError>
impl<StorageError> From<ConfirmMessageError<StorageError>> for CreateMessageError<StorageError>
Source§fn from(err: ConfirmMessageError<StorageError>) -> Self
fn from(err: ConfirmMessageError<StorageError>) -> Self
Converts to this type from the input type.
Source§impl<StorageError> From<SecretTreeError> for ConfirmMessageError<StorageError>
impl<StorageError> From<SecretTreeError> for ConfirmMessageError<StorageError>
Source§fn from(source: SecretTreeError) -> Self
fn from(source: SecretTreeError) -> Self
Converts to this type from the input type.
Source§impl<StorageError: PartialEq> PartialEq for ConfirmMessageError<StorageError>
impl<StorageError: PartialEq> PartialEq for ConfirmMessageError<StorageError>
impl<StorageError: PartialEq> StructuralPartialEq for ConfirmMessageError<StorageError>
Auto Trait Implementations§
impl<StorageError> Freeze for ConfirmMessageError<StorageError>where
StorageError: Freeze,
impl<StorageError> RefUnwindSafe for ConfirmMessageError<StorageError>where
StorageError: RefUnwindSafe,
impl<StorageError> Send for ConfirmMessageError<StorageError>where
StorageError: Send,
impl<StorageError> Sync for ConfirmMessageError<StorageError>where
StorageError: Sync,
impl<StorageError> Unpin for ConfirmMessageError<StorageError>where
StorageError: Unpin,
impl<StorageError> UnsafeUnpin for ConfirmMessageError<StorageError>where
StorageError: UnsafeUnpin,
impl<StorageError> UnwindSafe for ConfirmMessageError<StorageError>where
StorageError: 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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
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