Struct smoltcp::wire::Ipv6FragmentRepr
source · [−]pub struct Ipv6FragmentRepr {
pub next_header: Protocol,
pub frag_offset: u16,
pub more_frags: bool,
pub ident: u32,
}Expand description
A high-level representation of an IPv6 Fragment header.
Fields
next_header: ProtocolThe type of header immediately following the Fragment header.
frag_offset: u16The offset of the data following this header, relative to the start of the Fragmentable Part of the original packet.
more_frags: boolWhethere are not there are more fragments following this header
ident: u32The identification for every packet that is fragmented.
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