Enum openmls::group::ProposalValidationError
source · pub enum ProposalValidationError {
Show 13 variants
LibraryError(LibraryError),
UnknownMember,
DuplicateSignatureKey,
DuplicateEncryptionKey,
DuplicateInitKey,
InitEncryptionKeyCollision,
DuplicateMemberRemoval,
UnknownMemberRemoval,
UpdateFromNonMember,
CommitterIncludedOwnUpdate,
InsufficientCapabilities,
InvalidAddProposalCiphersuiteOrVersion,
Psk(PskError),
}
Expand description
Proposal validation error
Variants§
LibraryError(LibraryError)
See LibraryError
for more details.
UnknownMember
The sender could not be matched to a member of the group.
DuplicateSignatureKey
Duplicate signature key in proposals and group.
DuplicateEncryptionKey
Duplicate encryption key in proposals and group.
DuplicateInitKey
Duplicate init key in proposals.
InitEncryptionKeyCollision
The HPKE init and encryption keys are the same.
DuplicateMemberRemoval
Duplicate remove proposals for the same member.
UnknownMemberRemoval
The remove proposal referenced a non-existing member.
UpdateFromNonMember
Found an update from a non-member.
CommitterIncludedOwnUpdate
The Commit includes update proposals from the committer.
InsufficientCapabilities
The capabilities of the add proposal are insufficient for this group.
InvalidAddProposalCiphersuiteOrVersion
The add proposal’s ciphersuite or protocol version do not match the ones in the group context.
Psk(PskError)
See PskError
for more details.
Trait Implementations§
source§impl Clone for ProposalValidationError
impl Clone for ProposalValidationError
source§fn clone(&self) -> ProposalValidationError
fn clone(&self) -> ProposalValidationError
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 ProposalValidationError
impl Debug for ProposalValidationError
source§impl Display for ProposalValidationError
impl Display for ProposalValidationError
source§impl Error for ProposalValidationError
impl Error for ProposalValidationError
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<LibraryError> for ProposalValidationError
impl From<LibraryError> for ProposalValidationError
source§fn from(source: LibraryError) -> Self
fn from(source: LibraryError) -> Self
Converts to this type from the input type.
source§impl<KeyStoreError> From<ProposalValidationError> for CreateCommitError<KeyStoreError>
impl<KeyStoreError> From<ProposalValidationError> for CreateCommitError<KeyStoreError>
source§fn from(source: ProposalValidationError) -> Self
fn from(source: ProposalValidationError) -> Self
Converts to this type from the input type.
source§impl From<ProposalValidationError> for StageCommitError
impl From<ProposalValidationError> for StageCommitError
source§fn from(source: ProposalValidationError) -> Self
fn from(source: ProposalValidationError) -> Self
Converts to this type from the input type.
source§impl From<PskError> for ProposalValidationError
impl From<PskError> for ProposalValidationError
source§impl PartialEq<ProposalValidationError> for ProposalValidationError
impl PartialEq<ProposalValidationError> for ProposalValidationError
source§fn eq(&self, other: &ProposalValidationError) -> bool
fn eq(&self, other: &ProposalValidationError) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ProposalValidationError
Auto Trait Implementations§
impl RefUnwindSafe for ProposalValidationError
impl Send for ProposalValidationError
impl Sync for ProposalValidationError
impl Unpin for ProposalValidationError
impl UnwindSafe for ProposalValidationError
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