Enum openmls::group::MergePendingCommitError
source · pub enum MergePendingCommitError<StorageError> {
MlsGroupStateError(MlsGroupStateError<StorageError>),
MergeCommitError(MergeCommitError<StorageError>),
}
Expand description
Error merging pending commit
Variants§
MlsGroupStateError(MlsGroupStateError<StorageError>)
See MlsGroupStateError
for more details.
MergeCommitError(MergeCommitError<StorageError>)
See MergeCommitError
for more details.
Trait Implementations§
source§impl<StorageError: Clone> Clone for MergePendingCommitError<StorageError>
impl<StorageError: Clone> Clone for MergePendingCommitError<StorageError>
source§fn clone(&self) -> MergePendingCommitError<StorageError>
fn clone(&self) -> MergePendingCommitError<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 MergePendingCommitError<StorageError>
impl<StorageError: Debug> Debug for MergePendingCommitError<StorageError>
source§impl<StorageError> Display for MergePendingCommitError<StorageError>
impl<StorageError> Display for MergePendingCommitError<StorageError>
source§impl<StorageError> Error for MergePendingCommitError<StorageError>where
MlsGroupStateError<StorageError>: Error,
MergeCommitError<StorageError>: Error,
Self: Debug + Display,
impl<StorageError> Error for MergePendingCommitError<StorageError>where
MlsGroupStateError<StorageError>: Error,
MergeCommitError<StorageError>: Error,
Self: Debug + Display,
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<MergeCommitError<StorageError>> for MergePendingCommitError<StorageError>
impl<StorageError> From<MergeCommitError<StorageError>> for MergePendingCommitError<StorageError>
source§fn from(source: MergeCommitError<StorageError>) -> Self
fn from(source: MergeCommitError<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: PartialEq> PartialEq for MergePendingCommitError<StorageError>
impl<StorageError: PartialEq> PartialEq for MergePendingCommitError<StorageError>
source§fn eq(&self, other: &MergePendingCommitError<StorageError>) -> bool
fn eq(&self, other: &MergePendingCommitError<StorageError>) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl<StorageError> StructuralPartialEq for MergePendingCommitError<StorageError>
Auto Trait Implementations§
impl<StorageError> Freeze for MergePendingCommitError<StorageError>where
StorageError: Freeze,
impl<StorageError> RefUnwindSafe for MergePendingCommitError<StorageError>where
StorageError: RefUnwindSafe,
impl<StorageError> Send for MergePendingCommitError<StorageError>where
StorageError: Send,
impl<StorageError> Sync for MergePendingCommitError<StorageError>where
StorageError: Sync,
impl<StorageError> Unpin for MergePendingCommitError<StorageError>where
StorageError: Unpin,
impl<StorageError> UnwindSafe for MergePendingCommitError<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