pub enum TimeExceededCode {
TtlExceededInTransit = 0,
FragmentReassemblyTimeExceeded = 1,
}
Expand description
Code values for ICMPv4 time exceeded message.
Variants§
TtlExceededInTransit = 0
Time-to-live 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 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for TimeExceededCode
impl Debug for TimeExceededCode
Source§impl PartialEq for TimeExceededCode
impl PartialEq for TimeExceededCode
impl Copy for TimeExceededCode
impl Eq 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 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