pub struct Extension {
pub ext_type: u16,
pub data: Vec<u8>,
}Expand description
A generic TLS extension.
Fields§
§ext_type: u16Extension type ID.
data: Vec<u8>Raw extension data (after the type and length fields).
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Extension
impl RefUnwindSafe for Extension
impl Send for Extension
impl Sync for Extension
impl Unpin for Extension
impl UnsafeUnpin for Extension
impl UnwindSafe for Extension
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