pub enum PingOutcome {
Show 14 variants
HostDidntRespondToPingMethods {
tcp: bool,
icmp: bool,
},
IcmpEchoPacket,
HostLocalNetworkDidntRespondArpWhoIsQuery,
ArpWhoIsQuery(MacAddress),
IcmpUnreachPacketInResponseToTcpSynPacket {
to: u16,
},
RepliedTcpSynPacketWithRstAck {
to: u16,
},
RepliedTcpSynPacketWithSynAck {
to: u16,
},
RepliedTcpSynPacketWithFinAck {
to: u16,
},
EmittedTcpSynPacket {
from: u16,
to: u16,
},
EmittedTcpAckPacket {
from: u16,
to: u16,
},
EmittedTcpPushAckPacket {
from: u16,
to: u16,
},
IcmpUnreachPacket,
EmittedUdpPacket {
from: u16,
to: u16,
},
LocalScanner,
}Variants§
HostDidntRespondToPingMethods
IcmpEchoPacket
HostLocalNetworkDidntRespondArpWhoIsQuery
ArpWhoIsQuery(MacAddress)
IcmpUnreachPacketInResponseToTcpSynPacket
RepliedTcpSynPacketWithRstAck
RepliedTcpSynPacketWithSynAck
RepliedTcpSynPacketWithFinAck
EmittedTcpSynPacket
EmittedTcpAckPacket
EmittedTcpPushAckPacket
IcmpUnreachPacket
EmittedUdpPacket
LocalScanner
Trait Implementations§
Source§impl Clone for PingOutcome
impl Clone for PingOutcome
Source§fn clone(&self) -> PingOutcome
fn clone(&self) -> PingOutcome
Returns a duplicate of the value. Read more
1.0.0 · 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 PingOutcome
impl Debug for PingOutcome
impl Copy for PingOutcome
Auto Trait Implementations§
impl Freeze for PingOutcome
impl RefUnwindSafe for PingOutcome
impl Send for PingOutcome
impl Sync for PingOutcome
impl Unpin for PingOutcome
impl UnwindSafe for PingOutcome
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