Enum openmls::group::CreateCommitError
source · pub enum CreateCommitError<StorageError> {
Show 14 variants
LibraryError(LibraryError),
OwnKeyNotFound,
CannotRemoveSelf,
MissingProposal,
WrongProposalSenderType,
PskError(PskError),
ProposalValidationError(ProposalValidationError),
KeyStoreError(StorageError),
KeyPackageGenerationError(KeyPackageNewError),
SignatureError(SignatureError),
MissingCredential,
PublicTreeError(PublicTreeError),
InvalidExtensionError(InvalidExtensionError),
GroupContextExtensionsProposalValidationError(GroupContextExtensionsProposalValidationError),
}
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(StorageError)
Error interacting with storage.
KeyPackageGenerationError(KeyPackageNewError)
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.
GroupContextExtensionsProposalValidationError(GroupContextExtensionsProposalValidationError)
See GroupContextExtensionsProposalValidationError
for more details.
Trait Implementations§
source§impl<StorageError: Clone> Clone for CreateCommitError<StorageError>
impl<StorageError: Clone> Clone for CreateCommitError<StorageError>
source§fn clone(&self) -> CreateCommitError<StorageError>
fn clone(&self) -> CreateCommitError<StorageError>
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<StorageError: Debug> Debug for CreateCommitError<StorageError>
impl<StorageError: Debug> Debug for CreateCommitError<StorageError>
source§impl<StorageError> Display for CreateCommitError<StorageError>
impl<StorageError> Display for CreateCommitError<StorageError>
source§impl<StorageError> Error for CreateCommitError<StorageError>
impl<StorageError> Error for CreateCommitError<StorageError>
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<StorageError> From<CreateCommitError<StorageError>> for AddMembersError<StorageError>
impl<StorageError> From<CreateCommitError<StorageError>> for AddMembersError<StorageError>
source§fn from(source: CreateCommitError<StorageError>) -> Self
fn from(source: CreateCommitError<StorageError>) -> Self
Converts to this type from the input type.
source§impl<StorageError> From<CreateCommitError<StorageError>> for CommitToPendingProposalsError<StorageError>
impl<StorageError> From<CreateCommitError<StorageError>> for CommitToPendingProposalsError<StorageError>
source§fn from(source: CreateCommitError<StorageError>) -> Self
fn from(source: CreateCommitError<StorageError>) -> Self
Converts to this type from the input type.
source§impl<StorageError> From<CreateCommitError<StorageError>> for RemoveMembersError<StorageError>
impl<StorageError> From<CreateCommitError<StorageError>> for RemoveMembersError<StorageError>
source§fn from(source: CreateCommitError<StorageError>) -> Self
fn from(source: CreateCommitError<StorageError>) -> Self
Converts to this type from the input type.
source§impl<StorageError> From<CreateCommitError<StorageError>> for SelfUpdateError<StorageError>
impl<StorageError> From<CreateCommitError<StorageError>> for SelfUpdateError<StorageError>
source§fn from(source: CreateCommitError<StorageError>) -> Self
fn from(source: CreateCommitError<StorageError>) -> Self
Converts to this type from the input type.
source§impl<StorageError> From<GroupContextExtensionsProposalValidationError> for CreateCommitError<StorageError>
impl<StorageError> From<GroupContextExtensionsProposalValidationError> for CreateCommitError<StorageError>
source§fn from(source: GroupContextExtensionsProposalValidationError) -> Self
fn from(source: GroupContextExtensionsProposalValidationError) -> Self
Converts to this type from the input type.
source§impl<StorageError> From<InvalidExtensionError> for CreateCommitError<StorageError>
impl<StorageError> From<InvalidExtensionError> for CreateCommitError<StorageError>
source§fn from(source: InvalidExtensionError) -> Self
fn from(source: InvalidExtensionError) -> Self
Converts to this type from the input type.
source§impl<StorageError> From<KeyPackageNewError> for CreateCommitError<StorageError>
impl<StorageError> From<KeyPackageNewError> for CreateCommitError<StorageError>
source§fn from(source: KeyPackageNewError) -> Self
fn from(source: KeyPackageNewError) -> Self
Converts to this type from the input type.
source§impl<StorageError> From<LibraryError> for CreateCommitError<StorageError>
impl<StorageError> From<LibraryError> for CreateCommitError<StorageError>
source§fn from(source: LibraryError) -> Self
fn from(source: LibraryError) -> Self
Converts to this type from the input type.
source§impl<StorageError> From<ProposalValidationError> for CreateCommitError<StorageError>
impl<StorageError> From<ProposalValidationError> for CreateCommitError<StorageError>
source§fn from(source: ProposalValidationError) -> Self
fn from(source: ProposalValidationError) -> Self
Converts to this type from the input type.
source§impl<StorageError> From<PskError> for CreateCommitError<StorageError>
impl<StorageError> From<PskError> for CreateCommitError<StorageError>
source§impl<StorageError> From<PublicTreeError> for CreateCommitError<StorageError>
impl<StorageError> From<PublicTreeError> for CreateCommitError<StorageError>
source§fn from(source: PublicTreeError) -> Self
fn from(source: PublicTreeError) -> Self
Converts to this type from the input type.
source§impl<StorageError> From<SignatureError> for CreateCommitError<StorageError>
impl<StorageError> From<SignatureError> for CreateCommitError<StorageError>
source§fn from(source: SignatureError) -> Self
fn from(source: SignatureError) -> Self
Converts to this type from the input type.
source§impl<StorageError: PartialEq> PartialEq for CreateCommitError<StorageError>
impl<StorageError: PartialEq> PartialEq for CreateCommitError<StorageError>
source§fn eq(&self, other: &CreateCommitError<StorageError>) -> bool
fn eq(&self, other: &CreateCommitError<StorageError>) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl<StorageError> StructuralPartialEq for CreateCommitError<StorageError>
Auto Trait Implementations§
impl<StorageError> Freeze for CreateCommitError<StorageError>where
StorageError: Freeze,
impl<StorageError> RefUnwindSafe for CreateCommitError<StorageError>where
StorageError: RefUnwindSafe,
impl<StorageError> Send for CreateCommitError<StorageError>where
StorageError: Send,
impl<StorageError> Sync for CreateCommitError<StorageError>where
StorageError: Sync,
impl<StorageError> Unpin for CreateCommitError<StorageError>where
StorageError: Unpin,
impl<StorageError> UnwindSafe for CreateCommitError<StorageError>where
StorageError: 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
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