pub enum CreateCommitError {
Show 13 variants
LibraryError(LibraryError),
OwnKeyNotFound,
CannotRemoveSelf,
MissingProposal,
WrongProposalSenderType,
PskError(PskError),
ProposalValidationError(ProposalValidationError),
SignatureError(SignatureError),
MissingCredential,
PublicTreeError(PublicTreeError),
InvalidExtensionError(InvalidExtensionError),
GroupContextExtensionsProposalValidationError(GroupContextExtensionsProposalValidationError),
TreeSyncAddLeaf(TreeSyncAddLeaf),
}
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.
GroupContextExtensionsProposalValidationError(GroupContextExtensionsProposalValidationError)
See GroupContextExtensionsProposalValidationError
for more details.
TreeSyncAddLeaf(TreeSyncAddLeaf)
See TreeSyncAddLeaf
for more details.
Trait Implementations§
Source§impl Clone for CreateCommitError
impl Clone for CreateCommitError
Source§fn clone(&self) -> CreateCommitError
fn clone(&self) -> CreateCommitError
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 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)>
Returns 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> for AddMembersError<StorageError>
impl<StorageError> From<CreateCommitError> for AddMembersError<StorageError>
Source§fn from(source: CreateCommitError) -> Self
fn from(source: CreateCommitError) -> Self
Converts to this type from the input type.
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
Converts to this type from the input type.
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
Converts to this type from the input type.
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
Converts to this type from the input type.
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
Converts to this type from the input type.
Source§impl From<GroupContextExtensionsProposalValidationError> for CreateCommitError
impl From<GroupContextExtensionsProposalValidationError> for CreateCommitError
Source§fn from(source: GroupContextExtensionsProposalValidationError) -> Self
fn from(source: GroupContextExtensionsProposalValidationError) -> Self
Converts to this type from the input type.
Source§impl From<InvalidExtensionError> for CreateCommitError
impl From<InvalidExtensionError> for CreateCommitError
Source§fn from(source: InvalidExtensionError) -> Self
fn from(source: InvalidExtensionError) -> Self
Converts to this type from the input type.
Source§impl From<LibraryError> for CreateCommitError
impl From<LibraryError> for CreateCommitError
Source§fn from(source: LibraryError) -> Self
fn from(source: LibraryError) -> Self
Converts to this type from the input type.
Source§impl From<ProposalValidationError> for CreateCommitError
impl From<ProposalValidationError> for CreateCommitError
Source§fn from(source: ProposalValidationError) -> Self
fn from(source: ProposalValidationError) -> Self
Converts to this type from the input type.
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
Converts to this type from the input type.
Source§impl From<SignatureError> for CreateCommitError
impl From<SignatureError> for CreateCommitError
Source§fn from(source: SignatureError) -> Self
fn from(source: SignatureError) -> Self
Converts to this type from the input type.
Source§impl From<TreeSyncAddLeaf> for CreateCommitError
impl From<TreeSyncAddLeaf> for CreateCommitError
Source§fn from(source: TreeSyncAddLeaf) -> Self
fn from(source: TreeSyncAddLeaf) -> Self
Converts to this type from the input type.
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
Mutably borrows from an owned value. Read more
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>
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