pub struct FragmentHeader {
pub sequence: u64,
pub frag_index: u64,
pub frag_count: u64,
pub frag_start: usize,
pub frag_end: usize,
}Expand description
Result of lightweight fragment extraction.
Returned by extract_fragment for packets that carry fragmentation fields
(FragCount > 1). Holds the minimum information needed for reassembly
without parsing Nack, CongestionMark, or other LpPacket headers.
Fields§
§sequence: u64§frag_index: u64§frag_count: u64§frag_start: usizeByte range of the Fragment TLV value within the original raw buffer.
frag_end: usizeAuto Trait Implementations§
impl Freeze for FragmentHeader
impl RefUnwindSafe for FragmentHeader
impl Send for FragmentHeader
impl Sync for FragmentHeader
impl Unpin for FragmentHeader
impl UnwindSafe for FragmentHeader
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