Struct xenet_packet::ipv4::Ipv4OptionHeader
source · pub struct Ipv4OptionHeader { /* private fields */ }
Expand description
Represents the IPv4 option header.
Trait Implementations§
source§impl Clone for Ipv4OptionHeader
impl Clone for Ipv4OptionHeader
source§fn clone(&self) -> Ipv4OptionHeader
fn clone(&self) -> Ipv4OptionHeader
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 Ipv4OptionHeader
impl Debug for Ipv4OptionHeader
source§impl PartialEq for Ipv4OptionHeader
impl PartialEq for Ipv4OptionHeader
source§fn eq(&self, other: &Ipv4OptionHeader) -> bool
fn eq(&self, other: &Ipv4OptionHeader) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for Ipv4OptionHeader
impl StructuralEq for Ipv4OptionHeader
impl StructuralPartialEq for Ipv4OptionHeader
Auto Trait Implementations§
impl RefUnwindSafe for Ipv4OptionHeader
impl Send for Ipv4OptionHeader
impl Sync for Ipv4OptionHeader
impl Unpin for Ipv4OptionHeader
impl UnwindSafe for Ipv4OptionHeader
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