Enum openmls::prelude::CryptoError
source · pub enum CryptoError {
Show 20 variants
CryptoLibraryError,
AeadDecryptionError,
HpkeDecryptionError,
UnsupportedSignatureScheme,
KdfLabelTooLarge,
KdfSerializationError,
HkdfOutputLengthInvalid,
InsufficientRandomness,
InvalidSignature,
UnsupportedAeadAlgorithm,
UnsupportedKdf,
InvalidLength,
UnsupportedHashAlgorithm,
SignatureEncodingError,
SignatureDecodingError,
SenderSetupError,
ReceiverSetupError,
ExporterError,
UnsupportedCiphersuite,
TlsSerializationError,
}
Expand description
Crypto errors.
Variants§
CryptoLibraryError
AeadDecryptionError
HpkeDecryptionError
UnsupportedSignatureScheme
KdfLabelTooLarge
KdfSerializationError
HkdfOutputLengthInvalid
InsufficientRandomness
InvalidSignature
UnsupportedAeadAlgorithm
UnsupportedKdf
InvalidLength
UnsupportedHashAlgorithm
SignatureEncodingError
SignatureDecodingError
SenderSetupError
ReceiverSetupError
ExporterError
UnsupportedCiphersuite
TlsSerializationError
Trait Implementations§
source§impl Clone for CryptoError
impl Clone for CryptoError
source§fn clone(&self) -> CryptoError
fn clone(&self) -> CryptoError
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 CryptoError
impl Debug for CryptoError
source§impl Display for CryptoError
impl Display for CryptoError
source§impl Error for CryptoError
impl Error for CryptoError
1.30.0 · 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<CryptoError> for SecretTreeError
impl From<CryptoError> for SecretTreeError
source§fn from(source: CryptoError) -> Self
fn from(source: CryptoError) -> Self
Converts to this type from the input type.
source§impl PartialEq<CryptoError> for CryptoError
impl PartialEq<CryptoError> for CryptoError
source§fn eq(&self, other: &CryptoError) -> bool
fn eq(&self, other: &CryptoError) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for CryptoError
impl Eq for CryptoError
impl StructuralEq for CryptoError
impl StructuralPartialEq for CryptoError
Auto Trait Implementations§
impl RefUnwindSafe for CryptoError
impl Send for CryptoError
impl Sync for CryptoError
impl Unpin for CryptoError
impl UnwindSafe for CryptoError
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