pub enum IcmpCode {
Show 15 variants
EchoReply,
Reserved,
DestinationUnreachable(Unreachable),
SourceQuench,
Redirect(Redirect),
EchoRequest,
RouterAdvertisment,
RouterSolicication,
TimeExceeded(TimeExceeded),
ParameterProblem(ParameterProblem),
Timestamp,
TimestampReply,
ExtendedEchoRequest,
ExtendedEchoReply(ExtendedEchoReply),
Other(u16),
}Variants§
EchoReply
Reserved
DestinationUnreachable(Unreachable)
SourceQuench
Redirect(Redirect)
EchoRequest
RouterAdvertisment
RouterSolicication
TimeExceeded(TimeExceeded)
ParameterProblem(ParameterProblem)
Timestamp
TimestampReply
ExtendedEchoRequest
ExtendedEchoReply(ExtendedEchoReply)
Other(u16)
Trait Implementations§
impl Copy for IcmpCode
impl Eq for IcmpCode
impl StructuralPartialEq for IcmpCode
Auto Trait Implementations§
impl Freeze for IcmpCode
impl RefUnwindSafe for IcmpCode
impl Send for IcmpCode
impl Sync for IcmpCode
impl Unpin for IcmpCode
impl UnwindSafe for IcmpCode
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