pub struct Extension {
pub next_header: IpNextHeaderProtocol,
pub hdr_ext_len: u8,
pub options: Vec<u8>,
}
Expand description
Represents an IPv6 Extension.
Fields§
§next_header: IpNextHeaderProtocol
§hdr_ext_len: u8
§options: Vec<u8>
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 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