pub enum CreationFromExternalError<StorageError> {
LibraryError(LibraryError),
TreeSyncError(TreeSyncFromNodesError),
UnknownSender,
InvalidGroupInfoSignature,
TreeHashMismatch,
UnsupportedMlsVersion,
WriteToStorageError(StorageError),
}
Expand description
Public group creation from external error.
Variants§
LibraryError(LibraryError)
See LibraryError
for more details.
TreeSyncError(TreeSyncFromNodesError)
This error indicates the public tree is invalid. See TreeSyncFromNodesError
for more details.
UnknownSender
Sender not found in tree.
InvalidGroupInfoSignature
The signature on the GroupInfo is not valid.
TreeHashMismatch
The computed tree hash does not match the one in the GroupInfo.
UnsupportedMlsVersion
We don’t support the version of the group we are trying to join.
WriteToStorageError(StorageError)
Error writing to storage
Trait Implementations§
source§impl<StorageError: Clone> Clone for CreationFromExternalError<StorageError>
impl<StorageError: Clone> Clone for CreationFromExternalError<StorageError>
source§fn clone(&self) -> CreationFromExternalError<StorageError>
fn clone(&self) -> CreationFromExternalError<StorageError>
Returns a copy 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<StorageError: Debug> Debug for CreationFromExternalError<StorageError>
impl<StorageError: Debug> Debug for CreationFromExternalError<StorageError>
source§impl<StorageError> Display for CreationFromExternalError<StorageError>where
StorageError: Display,
impl<StorageError> Display for CreationFromExternalError<StorageError>where
StorageError: Display,
source§impl<StorageError> Error for CreationFromExternalError<StorageError>
impl<StorageError> Error for CreationFromExternalError<StorageError>
source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
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<CreationFromExternalError<StorageError>> for ExternalCommitError<StorageError>
impl<StorageError> From<CreationFromExternalError<StorageError>> for ExternalCommitError<StorageError>
source§fn from(source: CreationFromExternalError<StorageError>) -> Self
fn from(source: CreationFromExternalError<StorageError>) -> Self
Converts to this type from the input type.
source§impl<StorageError> From<CreationFromExternalError<StorageError>> for WelcomeError<StorageError>
impl<StorageError> From<CreationFromExternalError<StorageError>> for WelcomeError<StorageError>
source§fn from(source: CreationFromExternalError<StorageError>) -> Self
fn from(source: CreationFromExternalError<StorageError>) -> Self
Converts to this type from the input type.
source§impl<StorageError> From<LibraryError> for CreationFromExternalError<StorageError>
impl<StorageError> From<LibraryError> for CreationFromExternalError<StorageError>
source§fn from(source: LibraryError) -> Self
fn from(source: LibraryError) -> Self
Converts to this type from the input type.
source§impl<StorageError> From<TreeSyncFromNodesError> for CreationFromExternalError<StorageError>
impl<StorageError> From<TreeSyncFromNodesError> for CreationFromExternalError<StorageError>
source§fn from(source: TreeSyncFromNodesError) -> Self
fn from(source: TreeSyncFromNodesError) -> Self
Converts to this type from the input type.
source§impl<StorageError: PartialEq> PartialEq for CreationFromExternalError<StorageError>
impl<StorageError: PartialEq> PartialEq for CreationFromExternalError<StorageError>
source§fn eq(&self, other: &CreationFromExternalError<StorageError>) -> bool
fn eq(&self, other: &CreationFromExternalError<StorageError>) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl<StorageError> StructuralPartialEq for CreationFromExternalError<StorageError>
Auto Trait Implementations§
impl<StorageError> Freeze for CreationFromExternalError<StorageError>where
StorageError: Freeze,
impl<StorageError> RefUnwindSafe for CreationFromExternalError<StorageError>where
StorageError: RefUnwindSafe,
impl<StorageError> Send for CreationFromExternalError<StorageError>where
StorageError: Send,
impl<StorageError> Sync for CreationFromExternalError<StorageError>where
StorageError: Sync,
impl<StorageError> Unpin for CreationFromExternalError<StorageError>where
StorageError: Unpin,
impl<StorageError> UnwindSafe for CreationFromExternalError<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
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