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