pub enum CreateCommitError {
LibraryError(LibraryError),
OwnKeyNotFound,
CannotRemoveSelf,
MissingProposal,
WrongProposalSenderType,
PskError(PskError),
ProposalValidationError(ProposalValidationError),
}
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.
Trait Implementations
sourceimpl Clone for CreateCommitError
impl Clone for CreateCommitError
sourcefn clone(&self) -> CreateCommitError
fn clone(&self) -> CreateCommitError
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for CreateCommitError
impl Debug for CreateCommitError
sourceimpl Display for CreateCommitError
impl Display for CreateCommitError
sourceimpl Error for CreateCommitError
impl Error for CreateCommitError
sourcefn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
sourcefn backtrace(&self) -> Option<&Backtrace>
fn backtrace(&self) -> Option<&Backtrace>
backtrace
)Returns a stack backtrace, if available, of where this error occurred. Read more
1.0.0 · sourcefn description(&self) -> &str
fn description(&self) -> &str
use the Display impl or to_string()
sourceimpl From<CreateCommitError> for AddMembersError
impl From<CreateCommitError> for AddMembersError
sourcefn from(source: CreateCommitError) -> Self
fn from(source: CreateCommitError) -> Self
Converts to this type from the input type.
sourceimpl From<CreateCommitError> for RemoveMembersError
impl From<CreateCommitError> for RemoveMembersError
sourcefn from(source: CreateCommitError) -> Self
fn from(source: CreateCommitError) -> Self
Converts to this type from the input type.
sourceimpl From<CreateCommitError> for SelfUpdateError
impl From<CreateCommitError> for SelfUpdateError
sourcefn from(source: CreateCommitError) -> Self
fn from(source: CreateCommitError) -> Self
Converts to this type from the input type.
sourceimpl From<CreateCommitError> for CommitToPendingProposalsError
impl From<CreateCommitError> for CommitToPendingProposalsError
sourcefn from(source: CreateCommitError) -> Self
fn from(source: CreateCommitError) -> Self
Converts to this type from the input type.
sourceimpl From<LibraryError> for CreateCommitError
impl From<LibraryError> for CreateCommitError
sourcefn from(source: LibraryError) -> Self
fn from(source: LibraryError) -> Self
Converts to this type from the input type.
sourceimpl From<ProposalValidationError> for CreateCommitError
impl From<ProposalValidationError> for CreateCommitError
sourcefn from(source: ProposalValidationError) -> Self
fn from(source: ProposalValidationError) -> Self
Converts to this type from the input type.
sourceimpl From<PskError> for CreateCommitError
impl From<PskError> for CreateCommitError
sourceimpl PartialEq<CreateCommitError> for CreateCommitError
impl PartialEq<CreateCommitError> for CreateCommitError
sourcefn eq(&self, other: &CreateCommitError) -> bool
fn eq(&self, other: &CreateCommitError) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &CreateCommitError) -> bool
fn ne(&self, other: &CreateCommitError) -> bool
This method tests for !=
.
impl StructuralPartialEq for CreateCommitError
Auto Trait Implementations
impl RefUnwindSafe for CreateCommitError
impl Send for CreateCommitError
impl Sync for CreateCommitError
impl Unpin for CreateCommitError
impl UnwindSafe for CreateCommitError
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more