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)
See LifetimeError for more details.
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
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
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
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 From<LeafNodeValidationError> for CreateAddProposalError
impl From<LeafNodeValidationError> for CreateAddProposalError
Source§fn from(source: LeafNodeValidationError) -> Self
fn from(source: LeafNodeValidationError) -> Self
Source§impl From<LeafNodeValidationError> for CreateCommitError
impl From<LeafNodeValidationError> for CreateCommitError
Source§fn from(source: LeafNodeValidationError) -> Self
fn from(source: LeafNodeValidationError) -> Self
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
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 From<LeafNodeValidationError> for ProposalValidationError
impl From<LeafNodeValidationError> for ProposalValidationError
Source§fn from(source: LeafNodeValidationError) -> Self
fn from(source: LeafNodeValidationError) -> Self
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
Source§impl From<LeafNodeValidationError> for StageCommitError
impl From<LeafNodeValidationError> for StageCommitError
Source§fn from(source: LeafNodeValidationError) -> Self
fn from(source: LeafNodeValidationError) -> Self
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
Source§impl From<LifetimeError> for LeafNodeValidationError
impl From<LifetimeError> for LeafNodeValidationError
Source§fn from(source: LifetimeError) -> Self
fn from(source: LifetimeError) -> Self
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 UnsafeUnpin 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
§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>
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