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