Enum pfctl::IcmpTimexCode
source · #[non_exhaustive]#[repr(u8)]pub enum IcmpTimexCode {
Transit = 0,
Reassembly = 1,
}
Expand description
ICMP Code fields for time exceeded ICMP packets (IcmpType::Timex
)
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Trait Implementations§
source§impl Clone for IcmpTimexCode
impl Clone for IcmpTimexCode
source§fn clone(&self) -> IcmpTimexCode
fn clone(&self) -> IcmpTimexCode
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 IcmpTimexCode
impl Debug for IcmpTimexCode
source§impl Hash for IcmpTimexCode
impl Hash for IcmpTimexCode
source§impl PartialEq for IcmpTimexCode
impl PartialEq for IcmpTimexCode
source§fn eq(&self, other: &IcmpTimexCode) -> bool
fn eq(&self, other: &IcmpTimexCode) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for IcmpTimexCode
impl Eq for IcmpTimexCode
impl StructuralPartialEq for IcmpTimexCode
Auto Trait Implementations§
impl Freeze for IcmpTimexCode
impl RefUnwindSafe for IcmpTimexCode
impl Send for IcmpTimexCode
impl Sync for IcmpTimexCode
impl Unpin for IcmpTimexCode
impl UnwindSafe for IcmpTimexCode
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