pub enum RlsError {
Show 83 variants
NullPtr,
ClientHelloNone,
EncrypterNone,
DecrypterNone,
PayloadNone,
GenKeyFromAeadNone,
HasherNone,
AeadNone,
InvalidCipherSuite,
MessageTooShort,
AeadCryptError,
AeadEncryptError,
AeadDecryptError,
CipherCryptError,
CipherEncryptError,
CipherDecryptError,
CipherMacError,
InitEcKeyError,
GenEcKeyError,
InitEcPointError,
OCT2PointError,
ComputeKeyError,
InitEvpPKeyCtxError,
InitKeygenError,
KeyGenError,
GetPubKeyError,
NewPublicKeyError,
InitDeriveError,
SetPeerDeriveError,
DeriveError,
HmacCtxNull,
HmacInitError,
HmacUpdateError,
HmacFinalizeError,
InitEvpCtxError,
InitDigestError,
DigestUpdateError,
DigestFinalError,
DigestSignError,
DigestVerifyError,
RsaNewError,
BnNewError,
BnSetWordError,
RsaGenKeyError,
PkeyNewError,
PkeyAssignError,
BioNewError,
WritePriKeyError,
WritePubKeyError,
RsaSetPaddingError,
PkeyEncryptError,
InitEncryptError,
InitDecryptError,
PkeyDecryptError,
OpenX509Error,
SetRsaMgf1MdError,
SetRsaPassSaltLenError,
CertSniInvalid,
GenEcPubKeyError,
SkNewError,
SkPushError,
X509StoreNewError,
X509StoreCtxNewError,
X509StoreCtxInitError,
X509StoreAddError,
IssuerUnknown,
X509NewError,
X509SetVersionFail,
NewAsn1IntegerError,
NewX509NameError,
X509AddNameError,
X509SetSubjectError,
X509SetIssuerError,
NewX509ExtError,
X509AddExtFail,
X509SignError,
BIOWriteError,
BIOGetDataError,
GetAiaFail,
MissingCertificateChain,
StdError(Box<dyn Error>),
Currently(String),
Alert(Alert),
}Variants§
NullPtr
ClientHelloNone
EncrypterNone
DecrypterNone
PayloadNone
GenKeyFromAeadNone
HasherNone
AeadNone
InvalidCipherSuite
MessageTooShort
AeadCryptError
AeadEncryptError
AeadDecryptError
CipherCryptError
CipherEncryptError
CipherDecryptError
CipherMacError
InitEcKeyError
GenEcKeyError
InitEcPointError
OCT2PointError
ComputeKeyError
InitEvpPKeyCtxError
InitKeygenError
KeyGenError
GetPubKeyError
NewPublicKeyError
InitDeriveError
SetPeerDeriveError
DeriveError
HmacCtxNull
HmacInitError
HmacUpdateError
HmacFinalizeError
InitEvpCtxError
InitDigestError
DigestUpdateError
DigestFinalError
DigestSignError
DigestVerifyError
RsaNewError
BnNewError
BnSetWordError
RsaGenKeyError
PkeyNewError
PkeyAssignError
BioNewError
WritePriKeyError
WritePubKeyError
RsaSetPaddingError
PkeyEncryptError
InitEncryptError
InitDecryptError
PkeyDecryptError
OpenX509Error
SetRsaMgf1MdError
SetRsaPassSaltLenError
CertSniInvalid
GenEcPubKeyError
SkNewError
SkPushError
X509StoreNewError
X509StoreCtxNewError
X509StoreCtxInitError
X509StoreAddError
IssuerUnknown
X509NewError
X509SetVersionFail
NewAsn1IntegerError
NewX509NameError
X509AddNameError
X509SetSubjectError
X509SetIssuerError
NewX509ExtError
X509AddExtFail
X509SignError
BIOWriteError
BIOGetDataError
GetAiaFail
MissingCertificateChain
StdError(Box<dyn Error>)
Currently(String)
Alert(Alert)
Trait Implementations§
Source§impl Error for RlsError
impl Error for RlsError
1.30.0 · 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<AddrParseError> for RlsError
impl From<AddrParseError> for RlsError
Source§fn from(value: AddrParseError) -> RlsError
fn from(value: AddrParseError) -> RlsError
Converts to this type from the input type.
Source§impl From<FromHexError> for RlsError
impl From<FromHexError> for RlsError
Source§fn from(value: FromHexError) -> RlsError
fn from(value: FromHexError) -> RlsError
Converts to this type from the input type.
Source§impl From<FromUtf8Error> for RlsError
impl From<FromUtf8Error> for RlsError
Source§fn from(value: FromUtf8Error) -> RlsError
fn from(value: FromUtf8Error) -> RlsError
Converts to this type from the input type.
Source§impl From<Infallible> for RlsError
impl From<Infallible> for RlsError
Source§fn from(e: Infallible) -> RlsError
fn from(e: Infallible) -> RlsError
Converts to this type from the input type.
Source§impl From<ParseIntError> for RlsError
impl From<ParseIntError> for RlsError
Source§fn from(value: ParseIntError) -> RlsError
fn from(value: ParseIntError) -> RlsError
Converts to this type from the input type.
Source§impl<T> From<PoisonError<T>> for RlsErrorwhere
T: 'static,
impl<T> From<PoisonError<T>> for RlsErrorwhere
T: 'static,
Source§fn from(value: PoisonError<T>) -> RlsError
fn from(value: PoisonError<T>) -> RlsError
Converts to this type from the input type.
Source§impl From<SystemTimeError> for RlsError
impl From<SystemTimeError> for RlsError
Source§fn from(value: SystemTimeError) -> RlsError
fn from(value: SystemTimeError) -> RlsError
Converts to this type from the input type.
Source§impl From<TryFromSliceError> for RlsError
impl From<TryFromSliceError> for RlsError
Source§fn from(value: TryFromSliceError) -> RlsError
fn from(value: TryFromSliceError) -> RlsError
Converts to this type from the input type.
impl Send for RlsError
impl Sync for RlsError
Auto Trait Implementations§
impl Freeze for RlsError
impl !RefUnwindSafe for RlsError
impl Unpin for RlsError
impl UnsafeUnpin for RlsError
impl !UnwindSafe for RlsError
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