pub enum MlsErrorKind {
Show 33 variants
MlsWelcomeError(WelcomeError<CryptoKeystoreError>),
MlsLibraryError(LibraryError),
MlsInvalidMessageError(CreateMessageError),
MlsEmptyInputError(EmptyInputError),
MlsCredentialError(CredentialError),
MlsNewGroupError(NewGroupError<CryptoKeystoreError>),
MlsAddMembersError(AddMembersError<CryptoKeystoreError>),
MlsRemoveMembersError(RemoveMembersError<CryptoKeystoreError>),
MlsMessageError(ProcessMessageError),
MlsKeyPackageBundleNewError(KeyPackageNewError<CryptoKeystoreError>),
MlsSelfUpdateError(SelfUpdateError<CryptoKeystoreError>),
MlsMlsGroupStateError(MlsGroupStateError),
ProposeAddMemberError(ProposeAddMemberError),
ProposeSelfUpdateError(ProposeSelfUpdateError<CryptoKeystoreError>),
ProposeRemoveMemberError(ProposeRemoveMemberError),
MlsCommitToPendingProposalsError(CommitToPendingProposalsError<CryptoKeystoreError>),
MlsExportGroupInfoError(ExportGroupInfoError),
MlsTlsCodecError(Error),
MlsKeystoreSerializationError(Error),
MlsErrorString(ErrorString),
MlsExternalCommitError(ExternalCommitError),
MlsCryptoError(CryptoError),
MlsExportSecretError(ExportSecretError),
MlsMergeCommitError(MergeCommitError<CryptoKeystoreError>),
MlsKeyPackageValidationError(KeyPackageVerifyError),
MlsMergePendingCommitError(MergePendingCommitError<CryptoKeystoreError>),
MlsEncryptMessageError(MlsMessageError),
MlsDeleteKeyPackageError(KeyPackageDeleteError<CryptoKeystoreError>),
MlsUpdateExtensionsError(UpdateExtensionsError<CryptoKeystoreError>),
MlsLeafNodeValidationError(LeafNodeValidationError),
RatchetTreeError(RatchetTreeError),
GroupInfoError(GroupInfoError),
ProviderError(MlsProviderError),
}
Expand description
Openmls produces these kinds of error
Variants§
MlsWelcomeError(WelcomeError<CryptoKeystoreError>)
Welcome error
MlsLibraryError(LibraryError)
Generic error type that indicates unrecoverable errors in the library. See [openmls::error::LibraryError]
MlsInvalidMessageError(CreateMessageError)
Create message error
MlsEmptyInputError(EmptyInputError)
EmptyInput error
MlsCredentialError(CredentialError)
An error that occurs in methods of a openmls::credentials::Credential.
MlsNewGroupError(NewGroupError<CryptoKeystoreError>)
New group error
MlsAddMembersError(AddMembersError<CryptoKeystoreError>)
Add members error
MlsRemoveMembersError(RemoveMembersError<CryptoKeystoreError>)
Remove members error
MlsMessageError(ProcessMessageError)
Parse message error
MlsKeyPackageBundleNewError(KeyPackageNewError<CryptoKeystoreError>)
KeyPackageBundle
new error
MlsSelfUpdateError(SelfUpdateError<CryptoKeystoreError>)
Self update error
MlsMlsGroupStateError(MlsGroupStateError)
Group state error
ProposeAddMemberError(ProposeAddMemberError)
Propose add members error
ProposeSelfUpdateError(ProposeSelfUpdateError<CryptoKeystoreError>)
Propose self update error
ProposeRemoveMemberError(ProposeRemoveMemberError)
Propose remove members error
MlsCommitToPendingProposalsError(CommitToPendingProposalsError<CryptoKeystoreError>)
Commit to pending proposals error
MlsExportGroupInfoError(ExportGroupInfoError)
Export public group state error
MlsTlsCodecError(Error)
Errors that are thrown by TLS serialization crate.
MlsKeystoreSerializationError(Error)
This type represents all possible errors that can occur when serializing or deserializing JSON data.
MlsErrorString(ErrorString)
A wrapper struct for an error string. This can be used when no complex error variant is needed.
MlsExternalCommitError(ExternalCommitError)
External Commit error
MlsCryptoError(CryptoError)
OpenMls crypto error
MlsExportSecretError(ExportSecretError)
OpenMls Export Secret error
MlsMergeCommitError(MergeCommitError<CryptoKeystoreError>)
OpenMLS merge commit error
MlsKeyPackageValidationError(KeyPackageVerifyError)
OpenMLS keypackage validation error
MlsMergePendingCommitError(MergePendingCommitError<CryptoKeystoreError>)
OpenMLS Commit merge error
MlsEncryptMessageError(MlsMessageError)
OpenMLS encrypt message error
MlsDeleteKeyPackageError(KeyPackageDeleteError<CryptoKeystoreError>)
OpenMLS delete KeyPackage error
MlsUpdateExtensionsError(UpdateExtensionsError<CryptoKeystoreError>)
OpenMLS update extensions error
MlsLeafNodeValidationError(LeafNodeValidationError)
OpenMLS LeafNode validation error
RatchetTreeError(RatchetTreeError)
OpenMLS LeafNode validation error
GroupInfoError(GroupInfoError)
OpenMLS GroupInfo error
ProviderError(MlsProviderError)
Provider Error
Trait Implementations§
Source§impl Debug for MlsErrorKind
impl Debug for MlsErrorKind
Source§impl Display for MlsErrorKind
impl Display for MlsErrorKind
Source§impl Error for MlsErrorKind
impl Error for MlsErrorKind
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
Source§impl<'_derivative_strum> From<&'_derivative_strum MlsErrorKind> for &'static str
impl<'_derivative_strum> From<&'_derivative_strum MlsErrorKind> for &'static str
Source§fn from(x: &'_derivative_strum MlsErrorKind) -> &'static str
fn from(x: &'_derivative_strum MlsErrorKind) -> &'static str
Source§impl From<AddMembersError<CryptoKeystoreError>> for MlsErrorKind
impl From<AddMembersError<CryptoKeystoreError>> for MlsErrorKind
Source§fn from(source: AddMembersError<CryptoKeystoreError>) -> Self
fn from(source: AddMembersError<CryptoKeystoreError>) -> Self
Source§impl From<CommitToPendingProposalsError<CryptoKeystoreError>> for MlsErrorKind
impl From<CommitToPendingProposalsError<CryptoKeystoreError>> for MlsErrorKind
Source§fn from(source: CommitToPendingProposalsError<CryptoKeystoreError>) -> Self
fn from(source: CommitToPendingProposalsError<CryptoKeystoreError>) -> Self
Source§impl From<CreateMessageError> for MlsErrorKind
impl From<CreateMessageError> for MlsErrorKind
Source§impl From<CredentialError> for MlsErrorKind
impl From<CredentialError> for MlsErrorKind
Source§impl From<CryptoError> for MlsErrorKind
impl From<CryptoError> for MlsErrorKind
Source§impl From<EmptyInputError> for MlsErrorKind
impl From<EmptyInputError> for MlsErrorKind
Source§impl From<Error> for MlsErrorKind
impl From<Error> for MlsErrorKind
Source§impl From<Error> for MlsErrorKind
impl From<Error> for MlsErrorKind
Source§impl From<ErrorString> for MlsErrorKind
impl From<ErrorString> for MlsErrorKind
Source§impl From<ExportGroupInfoError> for MlsErrorKind
impl From<ExportGroupInfoError> for MlsErrorKind
Source§impl From<ExportSecretError> for MlsErrorKind
impl From<ExportSecretError> for MlsErrorKind
Source§impl From<ExternalCommitError> for MlsErrorKind
impl From<ExternalCommitError> for MlsErrorKind
Source§impl From<GroupInfoError> for MlsErrorKind
impl From<GroupInfoError> for MlsErrorKind
Source§impl From<KeyPackageDeleteError<CryptoKeystoreError>> for MlsErrorKind
impl From<KeyPackageDeleteError<CryptoKeystoreError>> for MlsErrorKind
Source§fn from(source: KeyPackageDeleteError<CryptoKeystoreError>) -> Self
fn from(source: KeyPackageDeleteError<CryptoKeystoreError>) -> Self
Source§impl From<KeyPackageNewError<CryptoKeystoreError>> for MlsErrorKind
impl From<KeyPackageNewError<CryptoKeystoreError>> for MlsErrorKind
Source§fn from(source: KeyPackageNewError<CryptoKeystoreError>) -> Self
fn from(source: KeyPackageNewError<CryptoKeystoreError>) -> Self
Source§impl From<KeyPackageVerifyError> for MlsErrorKind
impl From<KeyPackageVerifyError> for MlsErrorKind
Source§impl From<LeafNodeValidationError> for MlsErrorKind
impl From<LeafNodeValidationError> for MlsErrorKind
Source§impl From<LibraryError> for MlsErrorKind
impl From<LibraryError> for MlsErrorKind
Source§impl From<MergeCommitError<CryptoKeystoreError>> for MlsErrorKind
impl From<MergeCommitError<CryptoKeystoreError>> for MlsErrorKind
Source§fn from(source: MergeCommitError<CryptoKeystoreError>) -> Self
fn from(source: MergeCommitError<CryptoKeystoreError>) -> Self
Source§impl From<MergePendingCommitError<CryptoKeystoreError>> for MlsErrorKind
impl From<MergePendingCommitError<CryptoKeystoreError>> for MlsErrorKind
Source§fn from(source: MergePendingCommitError<CryptoKeystoreError>) -> Self
fn from(source: MergePendingCommitError<CryptoKeystoreError>) -> Self
Source§impl From<MlsErrorKind> for &'static str
impl From<MlsErrorKind> for &'static str
Source§fn from(x: MlsErrorKind) -> &'static str
fn from(x: MlsErrorKind) -> &'static str
Source§impl From<MlsGroupStateError> for MlsErrorKind
impl From<MlsGroupStateError> for MlsErrorKind
Source§impl From<MlsMessageError> for MlsErrorKind
impl From<MlsMessageError> for MlsErrorKind
Source§impl From<MlsProviderError> for MlsErrorKind
impl From<MlsProviderError> for MlsErrorKind
Source§fn from(source: MlsProviderError) -> Self
fn from(source: MlsProviderError) -> Self
Source§impl From<NewGroupError<CryptoKeystoreError>> for MlsErrorKind
impl From<NewGroupError<CryptoKeystoreError>> for MlsErrorKind
Source§fn from(source: NewGroupError<CryptoKeystoreError>) -> Self
fn from(source: NewGroupError<CryptoKeystoreError>) -> Self
Source§impl From<ProcessMessageError> for MlsErrorKind
impl From<ProcessMessageError> for MlsErrorKind
Source§impl From<ProposeAddMemberError> for MlsErrorKind
impl From<ProposeAddMemberError> for MlsErrorKind
Source§impl From<ProposeRemoveMemberError> for MlsErrorKind
impl From<ProposeRemoveMemberError> for MlsErrorKind
Source§impl From<ProposeSelfUpdateError<CryptoKeystoreError>> for MlsErrorKind
impl From<ProposeSelfUpdateError<CryptoKeystoreError>> for MlsErrorKind
Source§fn from(source: ProposeSelfUpdateError<CryptoKeystoreError>) -> Self
fn from(source: ProposeSelfUpdateError<CryptoKeystoreError>) -> Self
Source§impl From<RatchetTreeError> for MlsErrorKind
impl From<RatchetTreeError> for MlsErrorKind
Source§impl From<RemoveMembersError<CryptoKeystoreError>> for MlsErrorKind
impl From<RemoveMembersError<CryptoKeystoreError>> for MlsErrorKind
Source§fn from(source: RemoveMembersError<CryptoKeystoreError>) -> Self
fn from(source: RemoveMembersError<CryptoKeystoreError>) -> Self
Source§impl From<SelfUpdateError<CryptoKeystoreError>> for MlsErrorKind
impl From<SelfUpdateError<CryptoKeystoreError>> for MlsErrorKind
Source§fn from(source: SelfUpdateError<CryptoKeystoreError>) -> Self
fn from(source: SelfUpdateError<CryptoKeystoreError>) -> Self
Source§impl From<UpdateExtensionsError<CryptoKeystoreError>> for MlsErrorKind
impl From<UpdateExtensionsError<CryptoKeystoreError>> for MlsErrorKind
Source§fn from(source: UpdateExtensionsError<CryptoKeystoreError>) -> Self
fn from(source: UpdateExtensionsError<CryptoKeystoreError>) -> Self
Source§impl From<WelcomeError<CryptoKeystoreError>> for MlsErrorKind
impl From<WelcomeError<CryptoKeystoreError>> for MlsErrorKind
Source§fn from(source: WelcomeError<CryptoKeystoreError>) -> Self
fn from(source: WelcomeError<CryptoKeystoreError>) -> Self
Auto Trait Implementations§
impl Freeze for MlsErrorKind
impl !RefUnwindSafe for MlsErrorKind
impl Send for MlsErrorKind
impl Sync for MlsErrorKind
impl Unpin for MlsErrorKind
impl !UnwindSafe for MlsErrorKind
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
Source§impl<E> InnermostErrorMessage for Ewhere
E: Error,
impl<E> InnermostErrorMessage for Ewhere
E: Error,
Source§fn innermost_error_message(&self) -> String
fn innermost_error_message(&self) -> String
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