Enum openmls::treesync::errors::LeafNodeValidationError
source · pub enum LeafNodeValidationError {
Lifetime(LifetimeError),
UnsupportedExtensions,
UnsupportedProposals,
UnsupportedCredentials,
CredentialNotInCapabilities,
ExtensionsNotInCapabilities,
SignatureKeyAlreadyInUse,
EncryptionKeyAlreadyInUse,
InvalidLeafNodeSource,
LeafNodeCredentialNotSupportedByMember,
MemberCredentialNotSupportedByLeafNode,
}
Expand description
Errors that can happen during leaf node validation.
Variants§
Lifetime(LifetimeError)
Lifetime is not acceptable.
UnsupportedExtensions
Extensions are not acceptable.
UnsupportedProposals
Proposals are not acceptable.
UnsupportedCredentials
Credentials are not acceptable.
CredentialNotInCapabilities
The leaf node’s credential type is not listed in the leaf node’s capabilities.“
ExtensionsNotInCapabilities
The leaf node’s extension types are not (all) listed in the leaf node’s capabilities.
SignatureKeyAlreadyInUse
The leaf node’s signature key is already used in the group.
EncryptionKeyAlreadyInUse
The leaf node’s encryption key is already used in the group.
InvalidLeafNodeSource
The leaf node source is invalid in the given context.
LeafNodeCredentialNotSupportedByMember
The leaf node credential is not supported by all members in the group.
MemberCredentialNotSupportedByLeafNode
The credential used by a member is not supported by this leaf node.
Trait Implementations§
source§impl Clone for LeafNodeValidationError
impl Clone for LeafNodeValidationError
source§fn clone(&self) -> LeafNodeValidationError
fn clone(&self) -> LeafNodeValidationError
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 Debug for LeafNodeValidationError
impl Debug for LeafNodeValidationError
source§impl Display for LeafNodeValidationError
impl Display for LeafNodeValidationError
source§impl Error for LeafNodeValidationError
impl Error for LeafNodeValidationError
1.30.0 · 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 From<LeafNodeValidationError> for CreateAddProposalError
impl From<LeafNodeValidationError> for CreateAddProposalError
source§fn from(source: LeafNodeValidationError) -> Self
fn from(source: LeafNodeValidationError) -> Self
Converts to this type from the input type.
source§impl From<LeafNodeValidationError> for ProposeAddMemberError
impl From<LeafNodeValidationError> for ProposeAddMemberError
source§fn from(source: LeafNodeValidationError) -> Self
fn from(source: LeafNodeValidationError) -> Self
Converts to this type from the input type.
source§impl<KeyStoreError> From<LeafNodeValidationError> for WelcomeError<KeyStoreError>
impl<KeyStoreError> From<LeafNodeValidationError> for WelcomeError<KeyStoreError>
source§fn from(source: LeafNodeValidationError) -> Self
fn from(source: LeafNodeValidationError) -> Self
Converts to this type from the input type.
source§impl PartialEq<LeafNodeValidationError> for LeafNodeValidationError
impl PartialEq<LeafNodeValidationError> for LeafNodeValidationError
source§fn eq(&self, other: &LeafNodeValidationError) -> bool
fn eq(&self, other: &LeafNodeValidationError) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for LeafNodeValidationError
impl StructuralEq for LeafNodeValidationError
impl StructuralPartialEq for LeafNodeValidationError
Auto Trait Implementations§
impl RefUnwindSafe for LeafNodeValidationError
impl Send for LeafNodeValidationError
impl Sync for LeafNodeValidationError
impl Unpin for LeafNodeValidationError
impl UnwindSafe for LeafNodeValidationError
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