pub enum LeafNodeValidationError {
Lifetime(LifetimeError),
UnsupportedExtensions,
UnsupportedProposals,
UnsupportedCredentials,
CredentialNotInCapabilities,
ExtensionsNotInCapabilities,
CiphersuiteNotInCapabilities,
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.
CiphersuiteNotInCapabilities
The group’s ciphersuite is not 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)>
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 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<StorageError> From<LeafNodeValidationError> for CreateGroupContextExtProposalError<StorageError>
impl<StorageError> From<LeafNodeValidationError> for CreateGroupContextExtProposalError<StorageError>
Source§fn from(source: LeafNodeValidationError) -> Self
fn from(source: LeafNodeValidationError) -> 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 From<LeafNodeValidationError> for ProposalValidationError
impl From<LeafNodeValidationError> for ProposalValidationError
Source§fn from(source: LeafNodeValidationError) -> Self
fn from(source: LeafNodeValidationError) -> Self
Converts to this type from the input type.
Source§impl<StorageError> From<LeafNodeValidationError> for ProposeAddMemberError<StorageError>
impl<StorageError> From<LeafNodeValidationError> for ProposeAddMemberError<StorageError>
Source§fn from(source: LeafNodeValidationError) -> Self
fn from(source: LeafNodeValidationError) -> Self
Converts to this type from the input type.
Source§impl From<LeafNodeValidationError> for StageCommitError
impl From<LeafNodeValidationError> for StageCommitError
Source§fn from(source: LeafNodeValidationError) -> Self
fn from(source: LeafNodeValidationError) -> Self
Converts to this type from the input type.
Source§impl<StorageError> From<LeafNodeValidationError> for WelcomeError<StorageError>
impl<StorageError> From<LeafNodeValidationError> for WelcomeError<StorageError>
Source§fn from(source: LeafNodeValidationError) -> Self
fn from(source: LeafNodeValidationError) -> Self
Converts to this type from the input type.
Source§impl PartialEq for LeafNodeValidationError
impl PartialEq for LeafNodeValidationError
impl Eq for LeafNodeValidationError
impl StructuralPartialEq for LeafNodeValidationError
Auto Trait Implementations§
impl Freeze for LeafNodeValidationError
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
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>
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