Enum openmls::group::CreateCommitError
source · pub enum CreateCommitError<KeyStoreError> {
Show 13 variants
LibraryError(LibraryError),
OwnKeyNotFound,
CannotRemoveSelf,
MissingProposal,
WrongProposalSenderType,
PskError(PskError),
ProposalValidationError(ProposalValidationError),
KeyStoreError(KeyStoreError),
KeyPackageGenerationError(KeyPackageNewError<KeyStoreError>),
SignatureError(SignatureError),
MissingCredential,
PublicTreeError(PublicTreeError),
InvalidExtensionError(InvalidExtensionError),
}
Expand description
Create commit error
Variants§
LibraryError(LibraryError)
See LibraryError
for more details.
OwnKeyNotFound
Missing own key to apply proposal.
CannotRemoveSelf
The Commit tried to remove self from the group. This is not possible.
MissingProposal
The proposal queue is missing a proposal for the commit.
WrongProposalSenderType
A proposal has the wrong sender type.
PskError(PskError)
See PskError
for more details.
ProposalValidationError(ProposalValidationError)
See ProposalValidationError
for more details.
KeyStoreError(KeyStoreError)
Error interacting with the key store.
KeyPackageGenerationError(KeyPackageNewError<KeyStoreError>)
See KeyPackageNewError
for more details.
SignatureError(SignatureError)
See SignatureError
for more details.
MissingCredential
Credential is missing from external commit.
PublicTreeError(PublicTreeError)
This error indicates the public tree is invalid. See PublicTreeError
for more details.
InvalidExtensionError(InvalidExtensionError)
See InvalidExtensionError
for more details.
Trait Implementations§
source§impl<KeyStoreError: Clone> Clone for CreateCommitError<KeyStoreError>
impl<KeyStoreError: Clone> Clone for CreateCommitError<KeyStoreError>
source§fn clone(&self) -> CreateCommitError<KeyStoreError>
fn clone(&self) -> CreateCommitError<KeyStoreError>
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<KeyStoreError: Debug> Debug for CreateCommitError<KeyStoreError>
impl<KeyStoreError: Debug> Debug for CreateCommitError<KeyStoreError>
source§impl<KeyStoreError> Display for CreateCommitError<KeyStoreError>where
KeyPackageNewError<KeyStoreError>: Display,
impl<KeyStoreError> Display for CreateCommitError<KeyStoreError>where KeyPackageNewError<KeyStoreError>: Display,
source§impl<KeyStoreError> Error for CreateCommitError<KeyStoreError>where
KeyPackageNewError<KeyStoreError>: Error,
Self: Debug + Display,
impl<KeyStoreError> Error for CreateCommitError<KeyStoreError>where KeyPackageNewError<KeyStoreError>: Error, Self: Debug + Display,
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<KeyStoreError> From<CreateCommitError<KeyStoreError>> for AddMembersError<KeyStoreError>
impl<KeyStoreError> From<CreateCommitError<KeyStoreError>> for AddMembersError<KeyStoreError>
source§fn from(source: CreateCommitError<KeyStoreError>) -> Self
fn from(source: CreateCommitError<KeyStoreError>) -> Self
Converts to this type from the input type.
source§impl<KeyStoreError> From<CreateCommitError<KeyStoreError>> for CommitToPendingProposalsError<KeyStoreError>
impl<KeyStoreError> From<CreateCommitError<KeyStoreError>> for CommitToPendingProposalsError<KeyStoreError>
source§fn from(source: CreateCommitError<KeyStoreError>) -> Self
fn from(source: CreateCommitError<KeyStoreError>) -> Self
Converts to this type from the input type.
source§impl<KeyStoreError> From<CreateCommitError<KeyStoreError>> for RemoveMembersError<KeyStoreError>
impl<KeyStoreError> From<CreateCommitError<KeyStoreError>> for RemoveMembersError<KeyStoreError>
source§fn from(source: CreateCommitError<KeyStoreError>) -> Self
fn from(source: CreateCommitError<KeyStoreError>) -> Self
Converts to this type from the input type.
source§impl<KeyStoreError> From<CreateCommitError<KeyStoreError>> for SelfUpdateError<KeyStoreError>
impl<KeyStoreError> From<CreateCommitError<KeyStoreError>> for SelfUpdateError<KeyStoreError>
source§fn from(source: CreateCommitError<KeyStoreError>) -> Self
fn from(source: CreateCommitError<KeyStoreError>) -> Self
Converts to this type from the input type.
source§impl<KeyStoreError> From<InvalidExtensionError> for CreateCommitError<KeyStoreError>
impl<KeyStoreError> From<InvalidExtensionError> for CreateCommitError<KeyStoreError>
source§fn from(source: InvalidExtensionError) -> Self
fn from(source: InvalidExtensionError) -> Self
Converts to this type from the input type.
source§impl<KeyStoreError> From<KeyPackageNewError<KeyStoreError>> for CreateCommitError<KeyStoreError>
impl<KeyStoreError> From<KeyPackageNewError<KeyStoreError>> for CreateCommitError<KeyStoreError>
source§fn from(source: KeyPackageNewError<KeyStoreError>) -> Self
fn from(source: KeyPackageNewError<KeyStoreError>) -> Self
Converts to this type from the input type.
source§impl<KeyStoreError> From<LibraryError> for CreateCommitError<KeyStoreError>
impl<KeyStoreError> From<LibraryError> for CreateCommitError<KeyStoreError>
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<KeyStoreError> From<PskError> for CreateCommitError<KeyStoreError>
impl<KeyStoreError> From<PskError> for CreateCommitError<KeyStoreError>
source§impl<KeyStoreError> From<PublicTreeError> for CreateCommitError<KeyStoreError>
impl<KeyStoreError> From<PublicTreeError> for CreateCommitError<KeyStoreError>
source§fn from(source: PublicTreeError) -> Self
fn from(source: PublicTreeError) -> Self
Converts to this type from the input type.
source§impl<KeyStoreError> From<SignatureError> for CreateCommitError<KeyStoreError>
impl<KeyStoreError> From<SignatureError> for CreateCommitError<KeyStoreError>
source§fn from(source: SignatureError) -> Self
fn from(source: SignatureError) -> Self
Converts to this type from the input type.
source§impl<KeyStoreError: PartialEq> PartialEq<CreateCommitError<KeyStoreError>> for CreateCommitError<KeyStoreError>
impl<KeyStoreError: PartialEq> PartialEq<CreateCommitError<KeyStoreError>> for CreateCommitError<KeyStoreError>
source§fn eq(&self, other: &CreateCommitError<KeyStoreError>) -> bool
fn eq(&self, other: &CreateCommitError<KeyStoreError>) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl<KeyStoreError> StructuralPartialEq for CreateCommitError<KeyStoreError>
Auto Trait Implementations§
impl<KeyStoreError> RefUnwindSafe for CreateCommitError<KeyStoreError>where KeyStoreError: RefUnwindSafe,
impl<KeyStoreError> Send for CreateCommitError<KeyStoreError>where KeyStoreError: Send,
impl<KeyStoreError> Sync for CreateCommitError<KeyStoreError>where KeyStoreError: Sync,
impl<KeyStoreError> Unpin for CreateCommitError<KeyStoreError>where KeyStoreError: Unpin,
impl<KeyStoreError> UnwindSafe for CreateCommitError<KeyStoreError>where KeyStoreError: UnwindSafe,
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