pub enum MlsGroupStateError {
LibraryError(LibraryError),
UseAfterEviction,
PendingProposal,
PendingCommit,
NoPendingCommit,
PendingProposalNotFound,
}
Expand description
Group state error
Variants§
LibraryError(LibraryError)
See LibraryError
for more details.
UseAfterEviction
Tried to use a group after being evicted from it.
PendingProposal
Can’t create message because a pending proposal exists.
PendingCommit
Can’t execute operation because a pending commit exists.
NoPendingCommit
Can’t execute operation because there is no pending commit.
PendingProposalNotFound
Requested pending proposal hasn’t been found in local pending proposals
Trait Implementations§
Source§impl Clone for MlsGroupStateError
impl Clone for MlsGroupStateError
Source§fn clone(&self) -> MlsGroupStateError
fn clone(&self) -> MlsGroupStateError
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 MlsGroupStateError
impl Debug for MlsGroupStateError
Source§impl Display for MlsGroupStateError
impl Display for MlsGroupStateError
Source§impl Error for MlsGroupStateError
impl Error for MlsGroupStateError
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 From<LibraryError> for MlsGroupStateError
impl From<LibraryError> for MlsGroupStateError
Source§fn from(source: LibraryError) -> Self
fn from(source: LibraryError) -> Self
Converts to this type from the input type.
Source§impl<StorageError> From<MlsGroupStateError> for AddMembersError<StorageError>
impl<StorageError> From<MlsGroupStateError> for AddMembersError<StorageError>
Source§fn from(source: MlsGroupStateError) -> Self
fn from(source: MlsGroupStateError) -> Self
Converts to this type from the input type.
Source§impl<StorageError> From<MlsGroupStateError> for CommitToPendingProposalsError<StorageError>
impl<StorageError> From<MlsGroupStateError> for CommitToPendingProposalsError<StorageError>
Source§fn from(source: MlsGroupStateError) -> Self
fn from(source: MlsGroupStateError) -> Self
Converts to this type from the input type.
Source§impl<StorageError> From<MlsGroupStateError> for CreateGroupContextExtProposalError<StorageError>
impl<StorageError> From<MlsGroupStateError> for CreateGroupContextExtProposalError<StorageError>
Source§fn from(source: MlsGroupStateError) -> Self
fn from(source: MlsGroupStateError) -> Self
Converts to this type from the input type.
Source§impl From<MlsGroupStateError> for CreateMessageError
impl From<MlsGroupStateError> for CreateMessageError
Source§fn from(source: MlsGroupStateError) -> Self
fn from(source: MlsGroupStateError) -> Self
Converts to this type from the input type.
Source§impl From<MlsGroupStateError> for ExportGroupInfoError
impl From<MlsGroupStateError> for ExportGroupInfoError
Source§fn from(source: MlsGroupStateError) -> Self
fn from(source: MlsGroupStateError) -> Self
Converts to this type from the input type.
Source§impl From<MlsGroupStateError> for ExportSecretError
impl From<MlsGroupStateError> for ExportSecretError
Source§fn from(source: MlsGroupStateError) -> Self
fn from(source: MlsGroupStateError) -> Self
Converts to this type from the input type.
Source§impl<StorageError> From<MlsGroupStateError> for LeaveGroupError<StorageError>
impl<StorageError> From<MlsGroupStateError> for LeaveGroupError<StorageError>
Source§fn from(source: MlsGroupStateError) -> Self
fn from(source: MlsGroupStateError) -> Self
Converts to this type from the input type.
Source§impl<StorageError> From<MlsGroupStateError> for MergePendingCommitError<StorageError>
impl<StorageError> From<MlsGroupStateError> for MergePendingCommitError<StorageError>
Source§fn from(source: MlsGroupStateError) -> Self
fn from(source: MlsGroupStateError) -> Self
Converts to this type from the input type.
Source§impl From<MlsGroupStateError> for ProcessMessageError
impl From<MlsGroupStateError> for ProcessMessageError
Source§fn from(source: MlsGroupStateError) -> Self
fn from(source: MlsGroupStateError) -> Self
Converts to this type from the input type.
Source§impl<StorageError> From<MlsGroupStateError> for ProposalError<StorageError>
impl<StorageError> From<MlsGroupStateError> for ProposalError<StorageError>
Source§fn from(source: MlsGroupStateError) -> Self
fn from(source: MlsGroupStateError) -> Self
Converts to this type from the input type.
Source§impl<StorageError> From<MlsGroupStateError> for ProposeAddMemberError<StorageError>
impl<StorageError> From<MlsGroupStateError> for ProposeAddMemberError<StorageError>
Source§fn from(source: MlsGroupStateError) -> Self
fn from(source: MlsGroupStateError) -> Self
Converts to this type from the input type.
Source§impl From<MlsGroupStateError> for ProposePskError
impl From<MlsGroupStateError> for ProposePskError
Source§fn from(source: MlsGroupStateError) -> Self
fn from(source: MlsGroupStateError) -> Self
Converts to this type from the input type.
Source§impl<StorageError> From<MlsGroupStateError> for ProposeRemoveMemberError<StorageError>
impl<StorageError> From<MlsGroupStateError> for ProposeRemoveMemberError<StorageError>
Source§fn from(source: MlsGroupStateError) -> Self
fn from(source: MlsGroupStateError) -> Self
Converts to this type from the input type.
Source§impl<StorageError> From<MlsGroupStateError> for ProposeSelfUpdateError<StorageError>
impl<StorageError> From<MlsGroupStateError> for ProposeSelfUpdateError<StorageError>
Source§fn from(source: MlsGroupStateError) -> Self
fn from(source: MlsGroupStateError) -> Self
Converts to this type from the input type.
Source§impl<StorageError> From<MlsGroupStateError> for RemoveMembersError<StorageError>
impl<StorageError> From<MlsGroupStateError> for RemoveMembersError<StorageError>
Source§fn from(source: MlsGroupStateError) -> Self
fn from(source: MlsGroupStateError) -> Self
Converts to this type from the input type.
Source§impl<StorageError> From<MlsGroupStateError> for SelfUpdateError<StorageError>
impl<StorageError> From<MlsGroupStateError> for SelfUpdateError<StorageError>
Source§fn from(source: MlsGroupStateError) -> Self
fn from(source: MlsGroupStateError) -> Self
Converts to this type from the input type.
Source§impl PartialEq for MlsGroupStateError
impl PartialEq for MlsGroupStateError
impl StructuralPartialEq for MlsGroupStateError
Auto Trait Implementations§
impl Freeze for MlsGroupStateError
impl RefUnwindSafe for MlsGroupStateError
impl Send for MlsGroupStateError
impl Sync for MlsGroupStateError
impl Unpin for MlsGroupStateError
impl UnwindSafe for MlsGroupStateError
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