pub struct ProbeStatsParts {Show 19 fields
pub scanner: ScannerKind,
pub targets: u128,
pub stop_reason: StopReason,
pub elapsed: Duration,
pub sends_attempted: u64,
pub sends_failed: u64,
pub sends_witnessed: u64,
pub segments_seen: u64,
pub window: Option<WindowSummary>,
pub segments_off_target: u64,
pub replies_without_rtt: u64,
pub refusals_unattributed: u64,
pub hosts_found: u64,
pub answered_on: Vec<u64>,
pub answered_unattributed: u64,
pub first_reply: Option<Duration>,
pub last_reply: Option<Duration>,
pub found_at: Vec<u64>,
pub capture: Option<CaptureCounts>,
}Expand description
Everything a ProbeStats holds, for rebuilding one that was recorded.
The two distributions are lists, since their lengths (ATTEMPTS_COUNTED and one
more than BUCKET_BOUNDS_MS) may grow. ProbeStats::from_parts reads each for
the slots this build counts.
Fields§
§scanner: ScannerKindWhich strategy this describes.
targets: u128How many targets it was given.
stop_reason: StopReasonWhy its receive loop stopped.
elapsed: DurationHow long it ran.
sends_attempted: u64How many sends it attempted.
sends_failed: u64How many of those never left this host, refused or unable to reach their address.
sends_witnessed: u64How many of those were seen leaving on the wire.
segments_seen: u64How many segments its capture handed it.
window: Option<WindowSummary>Where its congestion window ended up.
segments_off_target: u64How many captured segments belonged to something else.
replies_without_rtt: u64How many replies could not be attributed to one attempt.
refusals_unattributed: u64How many of those were ICMP refusals too short to name an attempt.
hosts_found: u64How many hosts it found.
answered_on: Vec<u64>How many answers arrived on each attempt, one slot per counted attempt,
as ProbeStats::answered_on gives them.
answered_unattributed: u64How many answers named no attempt.
first_reply: Option<Duration>When the first reply arrived, from the start of the run.
last_reply: Option<Duration>When the last one did.
found_at: Vec<u64>How many hosts were found in each time bucket, one slot per bound plus
the tail, as ProbeStats::found_at gives them.
capture: Option<CaptureCounts>What the capture reported about its own losses.
Trait Implementations§
Source§impl Clone for ProbeStatsParts
impl Clone for ProbeStatsParts
Source§impl Debug for ProbeStatsParts
impl Debug for ProbeStatsParts
impl Eq for ProbeStatsParts
Source§impl PartialEq for ProbeStatsParts
impl PartialEq for ProbeStatsParts
impl StructuralPartialEq for ProbeStatsParts
Auto Trait Implementations§
impl Freeze for ProbeStatsParts
impl RefUnwindSafe for ProbeStatsParts
impl Send for ProbeStatsParts
impl Sync for ProbeStatsParts
impl Unpin for ProbeStatsParts
impl UnsafeUnpin for ProbeStatsParts
impl UnwindSafe for ProbeStatsParts
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more