Enum openmls::group::MlsGroupStateError
source · pub enum MlsGroupStateError<StorageError> {
LibraryError(LibraryError),
UseAfterEviction,
PendingProposal,
PendingCommit,
NoPendingCommit,
PendingProposalNotFound,
StorageError(StorageError),
}
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
StorageError(StorageError)
An error ocurred while writing to storage
Trait Implementations§
source§impl<StorageError: Clone> Clone for MlsGroupStateError<StorageError>
impl<StorageError: Clone> Clone for MlsGroupStateError<StorageError>
source§fn clone(&self) -> MlsGroupStateError<StorageError>
fn clone(&self) -> MlsGroupStateError<StorageError>
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<StorageError: Debug> Debug for MlsGroupStateError<StorageError>
impl<StorageError: Debug> Debug for MlsGroupStateError<StorageError>
source§impl<StorageError> Display for MlsGroupStateError<StorageError>
impl<StorageError> Display for MlsGroupStateError<StorageError>
source§impl<StorageError> Error for MlsGroupStateError<StorageError>
impl<StorageError> Error for MlsGroupStateError<StorageError>
source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
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<LibraryError> for MlsGroupStateError<StorageError>
impl<StorageError> From<LibraryError> for MlsGroupStateError<StorageError>
source§fn from(source: LibraryError) -> Self
fn from(source: LibraryError) -> Self
Converts to this type from the input type.
source§impl<StorageError> From<MlsGroupStateError<StorageError>> for AddMembersError<StorageError>
impl<StorageError> From<MlsGroupStateError<StorageError>> for AddMembersError<StorageError>
source§fn from(source: MlsGroupStateError<StorageError>) -> Self
fn from(source: MlsGroupStateError<StorageError>) -> Self
Converts to this type from the input type.
source§impl<StorageError> From<MlsGroupStateError<StorageError>> for CommitToPendingProposalsError<StorageError>
impl<StorageError> From<MlsGroupStateError<StorageError>> for CommitToPendingProposalsError<StorageError>
source§fn from(source: MlsGroupStateError<StorageError>) -> Self
fn from(source: MlsGroupStateError<StorageError>) -> Self
Converts to this type from the input type.
source§impl<StorageError> From<MlsGroupStateError<StorageError>> for CreateMessageError<StorageError>
impl<StorageError> From<MlsGroupStateError<StorageError>> for CreateMessageError<StorageError>
source§fn from(source: MlsGroupStateError<StorageError>) -> Self
fn from(source: MlsGroupStateError<StorageError>) -> Self
Converts to this type from the input type.
source§impl<StorageError> From<MlsGroupStateError<StorageError>> for ExportGroupInfoError<StorageError>
impl<StorageError> From<MlsGroupStateError<StorageError>> for ExportGroupInfoError<StorageError>
source§fn from(source: MlsGroupStateError<StorageError>) -> Self
fn from(source: MlsGroupStateError<StorageError>) -> Self
Converts to this type from the input type.
source§impl<StorageError> From<MlsGroupStateError<StorageError>> for ExportSecretError<StorageError>
impl<StorageError> From<MlsGroupStateError<StorageError>> for ExportSecretError<StorageError>
source§fn from(source: MlsGroupStateError<StorageError>) -> Self
fn from(source: MlsGroupStateError<StorageError>) -> Self
Converts to this type from the input type.
source§impl<StorageError> From<MlsGroupStateError<StorageError>> for LeaveGroupError<StorageError>
impl<StorageError> From<MlsGroupStateError<StorageError>> for LeaveGroupError<StorageError>
source§fn from(source: MlsGroupStateError<StorageError>) -> Self
fn from(source: MlsGroupStateError<StorageError>) -> Self
Converts to this type from the input type.
source§impl<StorageError> From<MlsGroupStateError<StorageError>> for MergePendingCommitError<StorageError>
impl<StorageError> From<MlsGroupStateError<StorageError>> for MergePendingCommitError<StorageError>
source§fn from(source: MlsGroupStateError<StorageError>) -> Self
fn from(source: MlsGroupStateError<StorageError>) -> Self
Converts to this type from the input type.
source§impl<StorageError> From<MlsGroupStateError<StorageError>> for ProcessMessageError<StorageError>
impl<StorageError> From<MlsGroupStateError<StorageError>> for ProcessMessageError<StorageError>
source§fn from(source: MlsGroupStateError<StorageError>) -> Self
fn from(source: MlsGroupStateError<StorageError>) -> Self
Converts to this type from the input type.
source§impl<StorageError> From<MlsGroupStateError<StorageError>> for ProposalError<StorageError>
impl<StorageError> From<MlsGroupStateError<StorageError>> for ProposalError<StorageError>
source§fn from(source: MlsGroupStateError<StorageError>) -> Self
fn from(source: MlsGroupStateError<StorageError>) -> Self
Converts to this type from the input type.
source§impl<StorageError> From<MlsGroupStateError<StorageError>> for ProposeAddMemberError<StorageError>
impl<StorageError> From<MlsGroupStateError<StorageError>> for ProposeAddMemberError<StorageError>
source§fn from(source: MlsGroupStateError<StorageError>) -> Self
fn from(source: MlsGroupStateError<StorageError>) -> Self
Converts to this type from the input type.
source§impl<StorageError> From<MlsGroupStateError<StorageError>> for ProposePskError<StorageError>
impl<StorageError> From<MlsGroupStateError<StorageError>> for ProposePskError<StorageError>
source§fn from(source: MlsGroupStateError<StorageError>) -> Self
fn from(source: MlsGroupStateError<StorageError>) -> Self
Converts to this type from the input type.
source§impl<StorageError> From<MlsGroupStateError<StorageError>> for ProposeRemoveMemberError<StorageError>
impl<StorageError> From<MlsGroupStateError<StorageError>> for ProposeRemoveMemberError<StorageError>
source§fn from(source: MlsGroupStateError<StorageError>) -> Self
fn from(source: MlsGroupStateError<StorageError>) -> Self
Converts to this type from the input type.
source§impl<StorageError> From<MlsGroupStateError<StorageError>> for ProposeSelfUpdateError<StorageError>
impl<StorageError> From<MlsGroupStateError<StorageError>> for ProposeSelfUpdateError<StorageError>
source§fn from(source: MlsGroupStateError<StorageError>) -> Self
fn from(source: MlsGroupStateError<StorageError>) -> Self
Converts to this type from the input type.
source§impl<StorageError> From<MlsGroupStateError<StorageError>> for RemoveMembersError<StorageError>
impl<StorageError> From<MlsGroupStateError<StorageError>> for RemoveMembersError<StorageError>
source§fn from(source: MlsGroupStateError<StorageError>) -> Self
fn from(source: MlsGroupStateError<StorageError>) -> Self
Converts to this type from the input type.
source§impl<StorageError> From<MlsGroupStateError<StorageError>> for SelfUpdateError<StorageError>
impl<StorageError> From<MlsGroupStateError<StorageError>> for SelfUpdateError<StorageError>
source§fn from(source: MlsGroupStateError<StorageError>) -> Self
fn from(source: MlsGroupStateError<StorageError>) -> Self
Converts to this type from the input type.
source§impl<StorageError: PartialEq> PartialEq for MlsGroupStateError<StorageError>
impl<StorageError: PartialEq> PartialEq for MlsGroupStateError<StorageError>
source§fn eq(&self, other: &MlsGroupStateError<StorageError>) -> bool
fn eq(&self, other: &MlsGroupStateError<StorageError>) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl<StorageError> StructuralPartialEq for MlsGroupStateError<StorageError>
Auto Trait Implementations§
impl<StorageError> Freeze for MlsGroupStateError<StorageError>where
StorageError: Freeze,
impl<StorageError> RefUnwindSafe for MlsGroupStateError<StorageError>where
StorageError: RefUnwindSafe,
impl<StorageError> Send for MlsGroupStateError<StorageError>where
StorageError: Send,
impl<StorageError> Sync for MlsGroupStateError<StorageError>where
StorageError: Sync,
impl<StorageError> Unpin for MlsGroupStateError<StorageError>where
StorageError: Unpin,
impl<StorageError> UnwindSafe for MlsGroupStateError<StorageError>where
StorageError: UnwindSafe,
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> 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