pub enum OpensslCryptoError {
AeadError(AnyError),
HpkeError(HpkeError),
KdfError(AnyError),
HashError(HashError),
EcSignerError(EcSignerError),
OpensslError(ErrorStack),
EcError(EcError),
}
Variants§
AeadError(AnyError)
HpkeError(HpkeError)
KdfError(AnyError)
HashError(HashError)
EcSignerError(EcSignerError)
OpensslError(ErrorStack)
EcError(EcError)
Trait Implementations§
Source§impl Debug for OpensslCryptoError
impl Debug for OpensslCryptoError
Source§impl Display for OpensslCryptoError
impl Display for OpensslCryptoError
Source§impl Error for OpensslCryptoError
impl Error for OpensslCryptoError
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 From<EcSignerError> for OpensslCryptoError
impl From<EcSignerError> for OpensslCryptoError
Source§fn from(source: EcSignerError) -> Self
fn from(source: EcSignerError) -> Self
Converts to this type from the input type.
Source§impl From<ErrorStack> for OpensslCryptoError
impl From<ErrorStack> for OpensslCryptoError
Source§fn from(source: ErrorStack) -> Self
fn from(source: ErrorStack) -> Self
Converts to this type from the input type.
Source§impl From<HashError> for OpensslCryptoError
impl From<HashError> for OpensslCryptoError
Source§impl From<HpkeError> for OpensslCryptoError
impl From<HpkeError> for OpensslCryptoError
Source§impl IntoAnyError for OpensslCryptoError
impl IntoAnyError for OpensslCryptoError
Auto Trait Implementations§
impl Freeze for OpensslCryptoError
impl !RefUnwindSafe for OpensslCryptoError
impl Send for OpensslCryptoError
impl Sync for OpensslCryptoError
impl Unpin for OpensslCryptoError
impl !UnwindSafe for OpensslCryptoError
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