pub enum PingMode {
Icmp,
Udp,
Tcp,
}Expand description
Type of ping operation
Variants§
Icmp
ICMP echo request/reply
Udp
UDP packet with ICMP Port Unreachable response
Tcp
TCP connection attempt
Trait Implementations§
impl Copy for PingMode
impl Eq for PingMode
impl StructuralPartialEq for PingMode
Auto Trait Implementations§
impl Freeze for PingMode
impl RefUnwindSafe for PingMode
impl Send for PingMode
impl Sync for PingMode
impl Unpin for PingMode
impl UnwindSafe for PingMode
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