Enum openmls::group::ExportSecretError
source · pub enum ExportSecretError<StorageError> {
LibraryError(LibraryError),
KeyLengthTooLong,
GroupStateError(MlsGroupStateError<StorageError>),
}
Expand description
Export secret error
Variants§
LibraryError(LibraryError)
See LibraryError
for more details.
KeyLengthTooLong
The requested key length is too long.
GroupStateError(MlsGroupStateError<StorageError>)
See MlsGroupStateError
for more details.
Trait Implementations§
source§impl<StorageError: Clone> Clone for ExportSecretError<StorageError>
impl<StorageError: Clone> Clone for ExportSecretError<StorageError>
source§fn clone(&self) -> ExportSecretError<StorageError>
fn clone(&self) -> ExportSecretError<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 ExportSecretError<StorageError>
impl<StorageError: Debug> Debug for ExportSecretError<StorageError>
source§impl<StorageError> Display for ExportSecretError<StorageError>where
MlsGroupStateError<StorageError>: Display,
impl<StorageError> Display for ExportSecretError<StorageError>where
MlsGroupStateError<StorageError>: Display,
source§impl<StorageError> Error for ExportSecretError<StorageError>
impl<StorageError> Error for ExportSecretError<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 ExportSecretError<StorageError>
impl<StorageError> From<LibraryError> for ExportSecretError<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 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: PartialEq> PartialEq for ExportSecretError<StorageError>
impl<StorageError: PartialEq> PartialEq for ExportSecretError<StorageError>
source§fn eq(&self, other: &ExportSecretError<StorageError>) -> bool
fn eq(&self, other: &ExportSecretError<StorageError>) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl<StorageError> StructuralPartialEq for ExportSecretError<StorageError>
Auto Trait Implementations§
impl<StorageError> Freeze for ExportSecretError<StorageError>where
StorageError: Freeze,
impl<StorageError> RefUnwindSafe for ExportSecretError<StorageError>where
StorageError: RefUnwindSafe,
impl<StorageError> Send for ExportSecretError<StorageError>where
StorageError: Send,
impl<StorageError> Sync for ExportSecretError<StorageError>where
StorageError: Sync,
impl<StorageError> Unpin for ExportSecretError<StorageError>where
StorageError: Unpin,
impl<StorageError> UnwindSafe for ExportSecretError<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