pub enum CreateCommitError {
Show 17 variants
LibraryError(LibraryError),
OwnKeyNotFound,
CannotRemoveSelf,
MissingProposal,
WrongProposalSenderType,
PskError(PskError),
ProposalValidationError(ProposalValidationError),
SignatureError(SignatureError),
MissingCredential,
PublicTreeError(PublicTreeError),
InvalidExtensionError(InvalidExtensionError),
AppDataUpdateValidationError(AppDataUpdateValidationError),
GroupContextExtensionsProposalValidationError(GroupContextExtensionsProposalValidationError),
TreeSyncAddLeaf(TreeSyncAddLeaf),
InvalidLeafNodeParameters,
InvalidExternalCommit(ExternalCommitValidationError),
ApplyAppDataUpdateError(ApplyAppDataUpdateError),
}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.
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.
AppDataUpdateValidationError(AppDataUpdateValidationError)
extensions-draft-08 only.See AppDataUpdateValidationError for more details.
GroupContextExtensionsProposalValidationError(GroupContextExtensionsProposalValidationError)
See GroupContextExtensionsProposalValidationError for more details.
TreeSyncAddLeaf(TreeSyncAddLeaf)
See TreeSyncAddLeaf for more details.
InvalidLeafNodeParameters
Invalid LeafNodeParameters. [CredentialWithKey] can’t be set with new signer.
InvalidExternalCommit(ExternalCommitValidationError)
Invalid external commit.
ApplyAppDataUpdateError(ApplyAppDataUpdateError)
extensions-draft-08 only.See ApplyAppDataUpdateError for more details.
Trait Implementations§
Source§impl Clone for CreateCommitError
impl Clone for CreateCommitError
Source§fn clone(&self) -> CreateCommitError
fn clone(&self) -> CreateCommitError
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for CreateCommitError
impl Debug for CreateCommitError
Source§impl Display for CreateCommitError
impl Display for CreateCommitError
Source§impl Error for CreateCommitError
impl Error for CreateCommitError
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
Source§impl From<AppDataUpdateValidationError> for CreateCommitError
impl From<AppDataUpdateValidationError> for CreateCommitError
Source§fn from(source: AppDataUpdateValidationError) -> Self
fn from(source: AppDataUpdateValidationError) -> Self
Source§impl From<ApplyAppDataUpdateError> for CreateCommitError
impl From<ApplyAppDataUpdateError> for CreateCommitError
Source§fn from(source: ApplyAppDataUpdateError) -> Self
fn from(source: ApplyAppDataUpdateError) -> Self
Source§impl<StorageError> From<CreateCommitError> for AddMembersError<StorageError>
impl<StorageError> From<CreateCommitError> for AddMembersError<StorageError>
Source§fn from(source: CreateCommitError) -> Self
fn from(source: CreateCommitError) -> Self
Source§impl<StorageError> From<CreateCommitError> for CommitToPendingProposalsError<StorageError>
impl<StorageError> From<CreateCommitError> for CommitToPendingProposalsError<StorageError>
Source§fn from(source: CreateCommitError) -> Self
fn from(source: CreateCommitError) -> Self
Source§impl<StorageError> From<CreateCommitError> for CreateGroupContextExtProposalError<StorageError>
impl<StorageError> From<CreateCommitError> for CreateGroupContextExtProposalError<StorageError>
Source§fn from(source: CreateCommitError) -> Self
fn from(source: CreateCommitError) -> Self
Source§impl<StorageError> From<CreateCommitError> for ExternalCommitError<StorageError>
impl<StorageError> From<CreateCommitError> for ExternalCommitError<StorageError>
Source§fn from(source: CreateCommitError) -> Self
fn from(source: CreateCommitError) -> Self
Source§impl<StorageError> From<CreateCommitError> for RemoveMembersError<StorageError>
impl<StorageError> From<CreateCommitError> for RemoveMembersError<StorageError>
Source§fn from(source: CreateCommitError) -> Self
fn from(source: CreateCommitError) -> Self
Source§impl<StorageError> From<CreateCommitError> for SelfUpdateError<StorageError>
impl<StorageError> From<CreateCommitError> for SelfUpdateError<StorageError>
Source§fn from(source: CreateCommitError) -> Self
fn from(source: CreateCommitError) -> Self
Source§impl<StorageError> From<CreateCommitError> for SwapMembersError<StorageError>
impl<StorageError> From<CreateCommitError> for SwapMembersError<StorageError>
Source§fn from(source: CreateCommitError) -> Self
fn from(source: CreateCommitError) -> Self
Source§impl From<ExternalCommitValidationError> for CreateCommitError
impl From<ExternalCommitValidationError> for CreateCommitError
Source§fn from(source: ExternalCommitValidationError) -> Self
fn from(source: ExternalCommitValidationError) -> Self
Source§impl From<GroupContextExtensionsProposalValidationError> for CreateCommitError
impl From<GroupContextExtensionsProposalValidationError> for CreateCommitError
Source§fn from(source: GroupContextExtensionsProposalValidationError) -> Self
fn from(source: GroupContextExtensionsProposalValidationError) -> Self
Source§impl From<InvalidExtensionError> for CreateCommitError
impl From<InvalidExtensionError> for CreateCommitError
Source§fn from(source: InvalidExtensionError) -> Self
fn from(source: InvalidExtensionError) -> Self
Source§impl From<LibraryError> for CreateCommitError
impl From<LibraryError> for CreateCommitError
Source§fn from(source: LibraryError) -> Self
fn from(source: LibraryError) -> Self
Source§impl From<ProposalValidationError> for CreateCommitError
impl From<ProposalValidationError> for CreateCommitError
Source§fn from(source: ProposalValidationError) -> Self
fn from(source: ProposalValidationError) -> Self
Source§impl From<PskError> for CreateCommitError
impl From<PskError> for CreateCommitError
Source§impl From<PublicTreeError> for CreateCommitError
impl From<PublicTreeError> for CreateCommitError
Source§fn from(source: PublicTreeError) -> Self
fn from(source: PublicTreeError) -> Self
Source§impl From<SignatureError> for CreateCommitError
impl From<SignatureError> for CreateCommitError
Source§fn from(source: SignatureError) -> Self
fn from(source: SignatureError) -> Self
Source§impl From<TreeSyncAddLeaf> for CreateCommitError
impl From<TreeSyncAddLeaf> for CreateCommitError
Source§fn from(source: TreeSyncAddLeaf) -> Self
fn from(source: TreeSyncAddLeaf) -> Self
Source§impl PartialEq for CreateCommitError
impl PartialEq for CreateCommitError
impl StructuralPartialEq for CreateCommitError
Auto Trait Implementations§
impl Freeze for CreateCommitError
impl RefUnwindSafe for CreateCommitError
impl Send for CreateCommitError
impl Sync for CreateCommitError
impl Unpin for CreateCommitError
impl UnwindSafe for CreateCommitError
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