IpHeadersLaxFromSliceResult

Type Alias IpHeadersLaxFromSliceResult 

Source
pub type IpHeadersLaxFromSliceResult<'a> = (IpHeaders, LaxIpPayloadSlice<'a>, Option<(HeadersSliceError, Layer)>);
Expand description

Result type of crate::IpHeaders::from_slice_lax.

The result consists of

  • .0 the successfully parsed IP headers and extensions.
  • .1 the partial or complete payload after the last successfully parsed ip header or ip extensions.
  • .2 error why the parsing had to be stopped (filled if there was an error, otherwise None).