pub enum CtxError {
Record(RecordError),
Builder(BuilderError),
Bug(&'static str),
UnexpectedAppData,
MissingHandshakeIv,
MissingHandshakeKey,
ExhaustedIv,
Crypto,
PrivateKey,
Rfc8446(Rfc8446Error),
}Expand description
yTLS Context Errors
Variants§
Record(RecordError)
Record Error
Builder(BuilderError)
Builder Error
Bug(&'static str)
Encountered Bug
UnexpectedAppData
Unexpected Application Data record
MissingHandshakeIv
Attempted to send hanshake out without AEAD Iv
MissingHandshakeKey
Attempted to send hanshake out without AEAD Key
ExhaustedIv
Iv is exhausted for any further record generation
Crypto
Cryptography provider related error. Usually a bug.
PrivateKey
Private Key related error, typically wrong length.
Rfc8446(Rfc8446Error)
RFC 8446 TLS 1.3 Specified Error
Trait Implementations§
impl StructuralPartialEq for CtxError
Auto Trait Implementations§
impl Freeze for CtxError
impl RefUnwindSafe for CtxError
impl Send for CtxError
impl Sync for CtxError
impl Unpin for CtxError
impl UnwindSafe for CtxError
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