Struct pnet_packet::ipv6::Routing
source · pub struct Routing {
pub next_header: IpNextHeaderProtocol,
pub hdr_ext_len: u8,
pub routing_type: u8,
pub segments_left: u8,
pub data: Vec<u8>,
}
Expand description
Represents an IPv6 Routing Extension.
Fields§
§next_header: IpNextHeaderProtocol
§hdr_ext_len: u8
§routing_type: u8
§segments_left: u8
§data: Vec<u8>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Routing
impl RefUnwindSafe for Routing
impl Send for Routing
impl Sync for Routing
impl Unpin for Routing
impl UnwindSafe for Routing
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