pub enum StageCommitError {
Show 23 variants
LibraryError(LibraryError),
EpochMismatch,
OwnCommit,
WrongPlaintextContentType,
PathLeafNodeVerificationFailure,
RequiredPathNotFound,
ConfirmationTagMissing,
ConfirmationTagMismatch,
AttemptedSelfRemoval,
MissingProposal,
OwnKeyNotFound,
InconsistentSenderIndex,
SenderTypeExternal,
SenderTypeNewMemberProposal,
TooManyNewMembers,
ProposalValidationError(ProposalValidationError),
PskError(PskError),
ExternalCommitValidation(ExternalCommitValidationError),
UpdatePathError(ApplyUpdatePathError),
MissingDecryptionKey,
VerifiedUpdatePathError(UpdatePathError),
GroupContextExtensionsProposalValidationError(GroupContextExtensionsProposalValidationError),
LeafNodeValidation(LeafNodeValidationError),
}
Expand description
Stage Commit error
Variants§
LibraryError(LibraryError)
See LibraryError
for more details.
EpochMismatch
The epoch of the group context and PublicMessage didn’t match.
OwnCommit
The Commit was created by this client.
WrongPlaintextContentType
stage_commit was called with an PublicMessage that is not a Commit.
PathLeafNodeVerificationFailure
Unable to verify the leaf node signature.
RequiredPathNotFound
Unable to determine commit path.
ConfirmationTagMissing
The confirmation Tag is missing.
ConfirmationTagMismatch
The confirmation tag is invalid.
AttemptedSelfRemoval
The committer can’t remove themselves.
MissingProposal
The proposal queue is missing a proposal for the commit.
OwnKeyNotFound
Missing own key to apply proposal.
InconsistentSenderIndex
External Committer used the wrong index.
SenderTypeExternal
The sender is of type external, which is not valid.
SenderTypeNewMemberProposal
The sender is of type NewMemberProposal
, which is not valid.
TooManyNewMembers
Too many new members: the tree is full.
ProposalValidationError(ProposalValidationError)
See ProposalValidationError
for more details.
PskError(PskError)
See PskError
for more details.
ExternalCommitValidation(ExternalCommitValidationError)
See ExternalCommitValidationError
for more details.
UpdatePathError(ApplyUpdatePathError)
See ApplyUpdatePathError
for more details.
MissingDecryptionKey
Missing decryption key.
VerifiedUpdatePathError(UpdatePathError)
See UpdatePathError
for more details.
GroupContextExtensionsProposalValidationError(GroupContextExtensionsProposalValidationError)
See GroupContextExtensionsProposalValidationError
for more details.
LeafNodeValidation(LeafNodeValidationError)
See LeafNodeValidationError
for more details.
Trait Implementations§
Source§impl Clone for StageCommitError
impl Clone for StageCommitError
Source§fn clone(&self) -> StageCommitError
fn clone(&self) -> StageCommitError
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Debug for StageCommitError
impl Debug for StageCommitError
Source§impl Display for StageCommitError
impl Display for StageCommitError
Source§impl Error for StageCommitError
impl Error for StageCommitError
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<ApplyUpdatePathError> for StageCommitError
impl From<ApplyUpdatePathError> for StageCommitError
Source§fn from(source: ApplyUpdatePathError) -> Self
fn from(source: ApplyUpdatePathError) -> Self
Source§impl From<ExternalCommitValidationError> for StageCommitError
impl From<ExternalCommitValidationError> for StageCommitError
Source§fn from(source: ExternalCommitValidationError) -> Self
fn from(source: ExternalCommitValidationError) -> Self
Source§impl From<GroupContextExtensionsProposalValidationError> for StageCommitError
impl From<GroupContextExtensionsProposalValidationError> for StageCommitError
Source§fn from(source: GroupContextExtensionsProposalValidationError) -> Self
fn from(source: GroupContextExtensionsProposalValidationError) -> 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 From<LibraryError> for StageCommitError
impl From<LibraryError> for StageCommitError
Source§fn from(source: LibraryError) -> Self
fn from(source: LibraryError) -> Self
Source§impl From<ProposalValidationError> for StageCommitError
impl From<ProposalValidationError> for StageCommitError
Source§fn from(source: ProposalValidationError) -> Self
fn from(source: ProposalValidationError) -> Self
Source§impl From<PskError> for StageCommitError
impl From<PskError> for StageCommitError
Source§impl From<StageCommitError> for ProcessMessageError
impl From<StageCommitError> for ProcessMessageError
Source§fn from(source: StageCommitError) -> Self
fn from(source: StageCommitError) -> Self
Source§impl From<UpdatePathError> for StageCommitError
impl From<UpdatePathError> for StageCommitError
Source§fn from(source: UpdatePathError) -> Self
fn from(source: UpdatePathError) -> Self
Source§impl PartialEq for StageCommitError
impl PartialEq for StageCommitError
impl StructuralPartialEq for StageCommitError
Auto Trait Implementations§
impl Freeze for StageCommitError
impl RefUnwindSafe for StageCommitError
impl Send for StageCommitError
impl Sync for StageCommitError
impl Unpin for StageCommitError
impl UnwindSafe for StageCommitError
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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