pub enum ExportSecretError {
LibraryError(LibraryError),
KeyLengthTooLong,
GroupStateError(MlsGroupStateError),
}Available on 32-bit or 64-bit only.
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 duplicate 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)>
Returns 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<ExportSecretError> for SetupError<StorageError>
Available on crate features test-utils only.
impl<StorageError> From<ExportSecretError> for SetupError<StorageError>
Available on crate features
test-utils only.Source§fn from(source: ExportSecretError) -> Self
fn from(source: ExportSecretError) -> Self
Converts to this type from the input type.
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 for ExportSecretError
impl PartialEq for ExportSecretError
impl StructuralPartialEq for ExportSecretError
Auto Trait Implementations§
impl Freeze for ExportSecretError
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
§impl<T> Classify for T
impl<T> Classify for T
type Classified = T
fn classify(self) -> T
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> Declassify for T
impl<T> Declassify for T
type Declassified = T
fn declassify(self) -> T
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