pub enum CreationFromExternalError<StorageError> {
Show 13 variants
LibraryError(LibraryError),
TreeSyncError(TreeSyncFromNodesError),
UnknownSender,
InvalidGroupInfoSignature,
TreeHashMismatch,
UnsupportedMlsVersion,
UnsupportedCiphersuite(Ciphersuite),
LeafNodeValidation(LeafNodeValidationError),
WriteToStorageError(StorageError),
UnmergedLeafNotADescendant,
IntermediateNodeMissingUnmergedLeaf,
DuplicateEncryptionKey,
DuplicateSignatureKey,
}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.
UnsupportedCiphersuite(Ciphersuite)
The ciphersuite is not supported by the crypto provider.
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
DuplicateSignatureKey
The ratchet tree contains duplcate signature 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>
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
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)>
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
use the Display impl or to_string()
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
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
Source§impl<StorageError> From<CreationFromExternalError<StorageError>> for VcExternalCommitJoinError<StorageError>
impl<StorageError> From<CreationFromExternalError<StorageError>> for VcExternalCommitJoinError<StorageError>
Source§fn from(source: CreationFromExternalError<StorageError>) -> Self
fn from(source: CreationFromExternalError<StorageError>) -> Self
Source§impl<StorageError> From<CreationFromExternalError<StorageError>> for VcGroupCreationJoinError<StorageError>
impl<StorageError> From<CreationFromExternalError<StorageError>> for VcGroupCreationJoinError<StorageError>
Source§fn from(source: CreationFromExternalError<StorageError>) -> Self
fn from(source: CreationFromExternalError<StorageError>) -> Self
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
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
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
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
Source§impl<StorageError: PartialEq> PartialEq for CreationFromExternalError<StorageError>
impl<StorageError: PartialEq> PartialEq for CreationFromExternalError<StorageError>
impl<StorageError: PartialEq> 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> UnsafeUnpin for CreationFromExternalError<StorageError>where
StorageError: UnsafeUnpin,
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
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> ⓘ
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> ⓘ
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