Enum openmls::group::SelfUpdateError
source · pub enum SelfUpdateError<KeyStoreError> {
LibraryError(LibraryError),
CreateCommitError(CreateCommitError<KeyStoreError>),
GroupStateError(MlsGroupStateError),
KeyStoreError,
}
Expand description
Self update error
Variants§
LibraryError(LibraryError)
See LibraryError
for more details.
CreateCommitError(CreateCommitError<KeyStoreError>)
See CreateCommitError
for more details.
GroupStateError(MlsGroupStateError)
See MlsGroupStateError
for more details.
KeyStoreError
Error accessing the key store.
Trait Implementations§
source§impl<KeyStoreError: Clone> Clone for SelfUpdateError<KeyStoreError>
impl<KeyStoreError: Clone> Clone for SelfUpdateError<KeyStoreError>
source§fn clone(&self) -> SelfUpdateError<KeyStoreError>
fn clone(&self) -> SelfUpdateError<KeyStoreError>
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<KeyStoreError: Debug> Debug for SelfUpdateError<KeyStoreError>
impl<KeyStoreError: Debug> Debug for SelfUpdateError<KeyStoreError>
source§impl<KeyStoreError> Display for SelfUpdateError<KeyStoreError>where
CreateCommitError<KeyStoreError>: Display,
impl<KeyStoreError> Display for SelfUpdateError<KeyStoreError>where CreateCommitError<KeyStoreError>: Display,
source§impl<KeyStoreError> Error for SelfUpdateError<KeyStoreError>where
CreateCommitError<KeyStoreError>: Error,
Self: Debug + Display,
impl<KeyStoreError> Error for SelfUpdateError<KeyStoreError>where CreateCommitError<KeyStoreError>: 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<KeyStoreError> From<CreateCommitError<KeyStoreError>> for SelfUpdateError<KeyStoreError>
impl<KeyStoreError> From<CreateCommitError<KeyStoreError>> for SelfUpdateError<KeyStoreError>
source§fn from(source: CreateCommitError<KeyStoreError>) -> Self
fn from(source: CreateCommitError<KeyStoreError>) -> Self
Converts to this type from the input type.
source§impl<KeyStoreError> From<LibraryError> for SelfUpdateError<KeyStoreError>
impl<KeyStoreError> From<LibraryError> for SelfUpdateError<KeyStoreError>
source§fn from(source: LibraryError) -> Self
fn from(source: LibraryError) -> Self
Converts to this type from the input type.
source§impl<KeyStoreError> From<MlsGroupStateError> for SelfUpdateError<KeyStoreError>
impl<KeyStoreError> From<MlsGroupStateError> for SelfUpdateError<KeyStoreError>
source§fn from(source: MlsGroupStateError) -> Self
fn from(source: MlsGroupStateError) -> Self
Converts to this type from the input type.
source§impl<KeyStoreError: PartialEq> PartialEq<SelfUpdateError<KeyStoreError>> for SelfUpdateError<KeyStoreError>
impl<KeyStoreError: PartialEq> PartialEq<SelfUpdateError<KeyStoreError>> for SelfUpdateError<KeyStoreError>
source§fn eq(&self, other: &SelfUpdateError<KeyStoreError>) -> bool
fn eq(&self, other: &SelfUpdateError<KeyStoreError>) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl<KeyStoreError> StructuralPartialEq for SelfUpdateError<KeyStoreError>
Auto Trait Implementations§
impl<KeyStoreError> RefUnwindSafe for SelfUpdateError<KeyStoreError>where KeyStoreError: RefUnwindSafe,
impl<KeyStoreError> Send for SelfUpdateError<KeyStoreError>where KeyStoreError: Send,
impl<KeyStoreError> Sync for SelfUpdateError<KeyStoreError>where KeyStoreError: Sync,
impl<KeyStoreError> Unpin for SelfUpdateError<KeyStoreError>where KeyStoreError: Unpin,
impl<KeyStoreError> UnwindSafe for SelfUpdateError<KeyStoreError>where KeyStoreError: 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