Struct pnet_packet::ipv6::Routing [−][src]
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 RefUnwindSafe for Routing
impl Send for Routing
impl Sync for Routing
impl Unpin for Routing
impl UnwindSafe for Routing
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<T> ToOwned for T where
T: Clone,
[src]
impl<T> ToOwned for T where
T: Clone,
[src]type Owned = T
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn to_owned(&self) -> T
[src]Creates owned data from borrowed data, usually by cloning. Read more
pub fn clone_into(&self, target: &mut T)
[src]
pub fn clone_into(&self, target: &mut T)
[src]🔬 This is a nightly-only experimental API. (toowned_clone_into
)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more