pub struct TimingBreakdown {
pub dns_time: Option<Duration>,
pub connect_time: Duration,
pub response_time: Duration,
pub total_time: Duration,
}Expand description
Timing breakdown for a probe operation
Fields§
§dns_time: Option<Duration>Time spent on DNS resolution (None if IP was provided directly)
connect_time: DurationTime to establish connection (TCP) or send packet (ICMP/UDP)
response_time: DurationTime to receive response
total_time: DurationTotal round-trip time
Implementations§
Source§impl TimingBreakdown
impl TimingBreakdown
Trait Implementations§
Source§impl Clone for TimingBreakdown
impl Clone for TimingBreakdown
Source§fn clone(&self) -> TimingBreakdown
fn clone(&self) -> TimingBreakdown
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 TimingBreakdown
impl Debug for TimingBreakdown
Source§impl Default for TimingBreakdown
impl Default for TimingBreakdown
Source§fn default() -> TimingBreakdown
fn default() -> TimingBreakdown
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for TimingBreakdown
impl RefUnwindSafe for TimingBreakdown
impl Send for TimingBreakdown
impl Sync for TimingBreakdown
impl Unpin for TimingBreakdown
impl UnsafeUnpin for TimingBreakdown
impl UnwindSafe for TimingBreakdown
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