pub struct TraceHop {
pub ttl: u8,
pub addr: IpAddr,
pub rtt_us: u64,
}Expand description
One discovered hop on the path to the peer.
Fields§
§ttl: u8The TTL at which this hop replied (1 = first router, 2 = second, …).
addr: IpAddrThe router that sent the ICMP TimeExceeded.
rtt_us: u64Round-trip time to this hop, microseconds.
Trait Implementations§
impl Copy for TraceHop
impl Eq for TraceHop
impl StructuralPartialEq for TraceHop
Auto Trait Implementations§
impl Freeze for TraceHop
impl RefUnwindSafe for TraceHop
impl Send for TraceHop
impl Sync for TraceHop
impl Unpin for TraceHop
impl UnsafeUnpin for TraceHop
impl UnwindSafe for TraceHop
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