pub struct ParisHop {
pub ttl: u8,
pub addr: Option<IpAddr>,
pub rtt: Duration,
pub responded: bool,
pub icmp_type: Option<u8>,
pub icmp_code: Option<u8>,
pub flow_id: FlowId,
pub mpls_labels: Vec<MplsLabel>,
}Expand description
A single hop result in Paris Traceroute
Fields§
§ttl: u8TTL/hop number
addr: Option<IpAddr>Responding IP address (None if no response)
rtt: DurationRound-trip time
responded: boolWhether this hop responded
icmp_type: Option<u8>ICMP type received
icmp_code: Option<u8>ICMP code received
flow_id: FlowIdFlow ID used for this probe
mpls_labels: Vec<MplsLabel>MPLS labels if present (RFC 4950)
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ParisHop
impl RefUnwindSafe for ParisHop
impl Send for ParisHop
impl Sync for ParisHop
impl Unpin for ParisHop
impl UnsafeUnpin for ParisHop
impl UnwindSafe for ParisHop
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