pub enum IpFragmentReason {
Fragmented,
AlreadyFits,
DontFragment,
Unsupported,
Other(String),
}Expand description
Why an IP fragment metadata record was attached.
Variants§
Fragmented
The input packet exceeded the configured MTU and was split.
AlreadyFits
The input already fit the configured MTU.
DontFragment
IPv4 Don’t Fragment policy prevented splitting.
Unsupported
The packet family or header shape is not supported by the transform.
Other(String)
Caller-defined reason.
Trait Implementations§
Source§impl Clone for IpFragmentReason
impl Clone for IpFragmentReason
Source§fn clone(&self) -> IpFragmentReason
fn clone(&self) -> IpFragmentReason
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 IpFragmentReason
impl Debug for IpFragmentReason
impl Eq for IpFragmentReason
Source§impl Hash for IpFragmentReason
impl Hash for IpFragmentReason
Source§impl PartialEq for IpFragmentReason
impl PartialEq for IpFragmentReason
Source§fn eq(&self, other: &IpFragmentReason) -> bool
fn eq(&self, other: &IpFragmentReason) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for IpFragmentReason
Auto Trait Implementations§
impl Freeze for IpFragmentReason
impl RefUnwindSafe for IpFragmentReason
impl Send for IpFragmentReason
impl Sync for IpFragmentReason
impl Unpin for IpFragmentReason
impl UnsafeUnpin for IpFragmentReason
impl UnwindSafe for IpFragmentReason
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