pub enum Verdict {
Reachable {
latency_ms: u64,
family_used: Family,
},
PartiallyReachable {
working: Family,
broken: Family,
},
DnsFailed {
error: DnsError,
},
NoEgress {
reason: String,
},
GatewayDown {
gateway: IpAddr,
},
PacketLoss {
loss_pct: f32,
},
TcpRefused {
addr: SocketAddr,
},
TcpTimeout {
addr: SocketAddr,
},
TlsFailed {
err: String,
},
HttpFailed {
status: u16,
},
}Expand description
Outcome of a reach call. The CLI renders a one-line summary from this,
then the findings for detail.
Variants§
Reachable
PartiallyReachable
One family worked, the other didn’t. Common on dual-stack hosts with broken IPv6.
DnsFailed
NoEgress
Kernel has no route to the target.
GatewayDown
PacketLoss
TcpRefused
TCP RST — service up, port closed.
Fields
§
addr: SocketAddrTcpTimeout
TCP silence — firewall dropping, or the host is off.
Fields
§
addr: SocketAddrTlsFailed
HttpFailed
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Verdict
impl<'de> Deserialize<'de> for Verdict
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for Verdict
impl StructuralPartialEq for Verdict
Auto Trait Implementations§
impl Freeze for Verdict
impl RefUnwindSafe for Verdict
impl Send for Verdict
impl Sync for Verdict
impl Unpin for Verdict
impl UnsafeUnpin for Verdict
impl UnwindSafe for Verdict
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