pub struct Ipv6Repr {
pub src_addr: Address,
pub dst_addr: Address,
pub next_header: Protocol,
pub payload_len: usize,
pub hop_limit: u8,
}Expand description
A high-level representation of an Internet Protocol version 6 packet header.
Fields
src_addr: AddressIPv6 address of the source node.
dst_addr: AddressIPv6 address of the destination node.
next_header: ProtocolProtocol contained in the next header.
payload_len: usizeLength of the payload including the extension headers.
hop_limit: u8The 8-bit hop limit field.
Implementations
sourceimpl Repr
impl Repr
Trait Implementations
impl Copy for Repr
impl Eq for Repr
impl StructuralEq for Repr
impl StructuralPartialEq for Repr
Auto Trait Implementations
impl RefUnwindSafe for Repr
impl Send for Repr
impl Sync for Repr
impl Unpin for Repr
impl UnwindSafe for Repr
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstablefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
fn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into)Uses borrowed data to replace owned data, usually by cloning. Read more