pub struct Fragment {
pub next_header: IpNextHeaderProtocol,
pub reserved: u8,
pub fragment_offset_with_flags: u16,
pub id: u32,
pub payload: Vec<u8>,
}
Expand description
Represents an IPv6 Fragment Extension.
Fields§
§next_header: IpNextHeaderProtocol
§reserved: u8
§fragment_offset_with_flags: u16
§id: u32
§payload: Vec<u8>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Fragment
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