pub enum CreationFromExternalError<StorageError> {
LibraryError(LibraryError),
TreeSyncError(TreeSyncFromNodesError),
UnknownSender,
InvalidGroupInfoSignature,
TreeHashMismatch,
UnsupportedMlsVersion,
LeafNodeValidation(LeafNodeValidationError),
WriteToStorageError(StorageError),
UnmergedLeafNotADescendant,
IntermediateNodeMissingUnmergedLeaf,
DuplicateEncryptionKey,
}Available on 32-bit or 64-bit only.
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.
LeafNodeValidation(LeafNodeValidationError)
WriteToStorageError(StorageError)
Error writing to storage.
UnmergedLeafNotADescendant
A parent node has an unmerged leaf that is not a descendant of the node.
IntermediateNodeMissingUnmergedLeaf
Found a path from a parent with an unmerged leaf to the leaf with nodes that do not have that as a leaf
DuplicateEncryptionKey
The ratchet tree contains duplcate encryption keys
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 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<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)>
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<CreationFromExternalError<StorageError>> for ExternalCommitBuilderError<StorageError>
impl<StorageError> From<CreationFromExternalError<StorageError>> for ExternalCommitBuilderError<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 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<LeafNodeValidationError> for CreationFromExternalError<StorageError>
impl<StorageError> From<LeafNodeValidationError> for CreationFromExternalError<StorageError>
Source§fn from(source: LeafNodeValidationError) -> Self
fn from(source: LeafNodeValidationError) -> 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
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
§impl<T> Classify for T
impl<T> Classify for T
type Classified = T
fn classify(self) -> T
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> Declassify for T
impl<T> Declassify for T
type Declassified = T
fn declassify(self) -> T
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