pub struct Ipv4OptionsImpl;
Expand description
An implementation of [OptionsImpl
] for IPv4 options.
Trait Implementations§
Source§impl Clone for Ipv4OptionsImpl
impl Clone for Ipv4OptionsImpl
Source§fn clone(&self) -> Ipv4OptionsImpl
fn clone(&self) -> Ipv4OptionsImpl
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for Ipv4OptionsImpl
impl Debug for Ipv4OptionsImpl
Source§impl OptionLayout for Ipv4OptionsImpl
impl OptionLayout for Ipv4OptionsImpl
Source§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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)§impl<O> RecordsImpl for Owhere
O: OptionsImpl,
impl<O> RecordsImpl for Owhere
O: OptionsImpl,
§type Record<'a> = <O as OptionsImpl>::Option<'a>
type Record<'a> = <O as OptionsImpl>::Option<'a>
The type of a single record; the output from the
parse_with_context
function. Read more