pub enum RecordError {
Validity,
Alignment,
Size,
OverflowLength,
ClientHello(ClientHelloError),
ServerHello(ServerHelloError),
NotAllowed,
}Variants§
Validity
Record not valid
Alignment
Record not aligned
Size
Record size error
OverflowLength
RFC 8446 s. 5. Record size > MUST NOT exceed 2^14 bytes
ClientHello(ClientHelloError)
Client Hello within Record
ServerHello(ServerHelloError)
Server Hello within Record
NotAllowed
Not allowed within Wrapped record
Trait Implementations§
Source§impl Debug for RecordError
impl Debug for RecordError
Source§impl PartialEq for RecordError
impl PartialEq for RecordError
impl StructuralPartialEq for RecordError
Auto Trait Implementations§
impl Freeze for RecordError
impl RefUnwindSafe for RecordError
impl Send for RecordError
impl Sync for RecordError
impl Unpin for RecordError
impl UnwindSafe for RecordError
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