Struct packet_formats::ipv4::options::Ipv4OptionsImpl
source · pub struct Ipv4OptionsImpl;
Expand description
An implementation of [OptionsImpl
] for IPv4 options.
Trait Implementations§
source§impl Debug for Ipv4OptionsImpl
impl Debug for Ipv4OptionsImpl
source§impl OptionLayout for Ipv4OptionsImpl
impl OptionLayout for Ipv4OptionsImpl
§type KindLenField = u8
type KindLenField = u8
The type of the “kind” and “length” fields in an option. Read more
§const LENGTH_ENCODING: LengthEncoding = _
const LENGTH_ENCODING: LengthEncoding = _
The encoding of the length byte. Read more
source§impl OptionParseLayout for Ipv4OptionsImpl
impl OptionParseLayout for Ipv4OptionsImpl
Auto Trait Implementations§
impl Freeze for Ipv4OptionsImpl
impl RefUnwindSafe for Ipv4OptionsImpl
impl Send for Ipv4OptionsImpl
impl Sync for Ipv4OptionsImpl
impl Unpin for Ipv4OptionsImpl
impl UnwindSafe for Ipv4OptionsImpl
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
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
§impl<'a, O> RecordsImpl<'a> for Owhere
O: OptionsImpl<'a>,
impl<'a, O> RecordsImpl<'a> for Owhere
O: OptionsImpl<'a>,
§type Record = <O as OptionsImpl<'a>>::Option
type Record = <O as OptionsImpl<'a>>::Option
The type of a single record; the output from the
parse_with_context
function. Read more