pub struct RawRecord {
pub rec_type: u8,
pub bytes: Vec<u8>,
}Expand description
A single raw TLS record as read during the handshake: its type byte and full wire bytes (5-byte header included).
Fields§
§rec_type: u8§bytes: Vec<u8>Auto Trait Implementations§
impl Freeze for RawRecord
impl RefUnwindSafe for RawRecord
impl Send for RawRecord
impl Sync for RawRecord
impl Unpin for RawRecord
impl UnsafeUnpin for RawRecord
impl UnwindSafe for RawRecord
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