pub enum TimeExceededCode {
HopLimitExceeded = 0,
FragmentReassemblyTimeExceeded = 1,
}Expand description
Code values for ICMPv6 time exceeded message.
Variants§
HopLimitExceeded = 0
“hop limit exceeded in transit”
FragmentReassemblyTimeExceeded = 1
“fragment reassembly time exceeded”
Implementations§
Trait Implementations§
Source§impl Clone for TimeExceededCode
impl Clone for TimeExceededCode
Source§fn clone(&self) -> TimeExceededCode
fn clone(&self) -> TimeExceededCode
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 moreimpl Copy for TimeExceededCode
Source§impl Debug for TimeExceededCode
impl Debug for TimeExceededCode
impl Eq for TimeExceededCode
Source§impl Hash for TimeExceededCode
impl Hash for TimeExceededCode
Source§impl Ord for TimeExceededCode
impl Ord for TimeExceededCode
Source§fn cmp(&self, other: &TimeExceededCode) -> Ordering
fn cmp(&self, other: &TimeExceededCode) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for TimeExceededCode
impl PartialEq for TimeExceededCode
Source§impl PartialOrd for TimeExceededCode
impl PartialOrd for TimeExceededCode
impl StructuralPartialEq for TimeExceededCode
Auto Trait Implementations§
impl Freeze for TimeExceededCode
impl RefUnwindSafe for TimeExceededCode
impl Send for TimeExceededCode
impl Sync for TimeExceededCode
impl Unpin for TimeExceededCode
impl UnsafeUnpin for TimeExceededCode
impl UnwindSafe for TimeExceededCode
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