Struct xenet_packet::ipv6::Fragment
source · pub struct Fragment {
pub next_header: IpNextLevelProtocol,
pub reserved: u8,
pub fragment_offset_with_flags: u16be,
pub id: u32be,
pub payload: Vec<u8>,
}
Expand description
Represents an IPv6 Fragment Extension.
Fields§
§next_header: IpNextLevelProtocol
§reserved: u8
§fragment_offset_with_flags: u16be
§id: u32be
§payload: Vec<u8>
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for Fragment
impl Send for Fragment
impl Sync for Fragment
impl Unpin for Fragment
impl UnwindSafe for Fragment
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