pub struct ProbeResults {
pub strategy: ProbeStrategy,
pub gateway_ping: Option<PingResult>,
pub target_ping: Option<PingResult>,
pub tcp_connect: Option<TcpProbeResult>,
pub tls_handshake: Option<TlsProbeResult>,
pub http_head: Option<HttpProbeResult>,
pub trace: Option<Vec<Hop>>,
}Expand description
All probe results collected for a single path trace.
Fields§
§strategy: ProbeStrategyWhich probe strategy was selected for this target.
gateway_ping: Option<PingResult>ICMP to the gateway — cheap, almost always run.
target_ping: Option<PingResult>ICMP to the target — may be filtered, so not authoritative.
tcp_connect: Option<TcpProbeResult>TCP connect probe result.
tls_handshake: Option<TlsProbeResult>TLS handshake probe result.
http_head: Option<HttpProbeResult>HTTP HEAD probe result.
trace: Option<Vec<Hop>>Traceroute. Lazy: only populated on failure or with --trace.
Trait Implementations§
Source§impl Clone for ProbeResults
impl Clone for ProbeResults
Source§fn clone(&self) -> ProbeResults
fn clone(&self) -> ProbeResults
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 ProbeResults
impl Debug for ProbeResults
Source§impl<'de> Deserialize<'de> for ProbeResults
impl<'de> Deserialize<'de> for ProbeResults
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
Auto Trait Implementations§
impl Freeze for ProbeResults
impl RefUnwindSafe for ProbeResults
impl Send for ProbeResults
impl Sync for ProbeResults
impl Unpin for ProbeResults
impl UnsafeUnpin for ProbeResults
impl UnwindSafe for ProbeResults
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