Enum packet_formats::ipv4::Ipv4FragmentType
source · pub enum Ipv4FragmentType {
InitialFragment,
NonInitialFragment,
}
Expand description
The type of an IPv4 packet fragment.
Variants§
Trait Implementations§
source§impl Clone for Ipv4FragmentType
impl Clone for Ipv4FragmentType
source§fn clone(&self) -> Ipv4FragmentType
fn clone(&self) -> Ipv4FragmentType
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 Ipv4FragmentType
impl Debug for Ipv4FragmentType
source§impl Hash for Ipv4FragmentType
impl Hash for Ipv4FragmentType
source§impl PartialEq for Ipv4FragmentType
impl PartialEq for Ipv4FragmentType
source§fn eq(&self, other: &Ipv4FragmentType) -> bool
fn eq(&self, other: &Ipv4FragmentType) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for Ipv4FragmentType
impl Eq for Ipv4FragmentType
impl StructuralPartialEq for Ipv4FragmentType
Auto Trait Implementations§
impl Freeze for Ipv4FragmentType
impl RefUnwindSafe for Ipv4FragmentType
impl Send for Ipv4FragmentType
impl Sync for Ipv4FragmentType
impl Unpin for Ipv4FragmentType
impl UnwindSafe for Ipv4FragmentType
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