pub struct MeasurementExecutionArgs<'a> {
pub is_cli: bool,
pub is_parquet: bool,
pub is_shuffle: bool,
pub hitlist_path: &'a str,
pub hitlist_length: usize,
pub out_path: String,
pub worker_map: BiHashMap<u32, String>,
pub is_sessions: bool,
pub versions: IpVersions,
}Fields§
§is_cli: boolDetermines whether results should be streamed to the command-line interface as they arrive.
is_parquet: boolIndicates whether the results should be written in Parquet format (default: .csv.gz).
is_shuffle: boolSpecifies whether the list of targets should be shuffled before the measurement begins.
hitlist_path: &'a strThe path to the file containing the list of measurement targets (the “hitlist”).
hitlist_length: usizeThe total number of targets in the hitlist, used for estimating measurement duration.
out_path: StringPath to write results to (may include filename and extension).
worker_map: BiHashMap<u32, String>A bidirectional map used to resolve worker IDs to their corresponding hostnames.
is_sessions: boolIf true, tags probes with session IDs for attribution (–sessions for -m feed).
versions: IpVersionsIP versions measured, used to tag the output filename (v4/v6/mixed).
Auto Trait Implementations§
impl<'a> Freeze for MeasurementExecutionArgs<'a>
impl<'a> RefUnwindSafe for MeasurementExecutionArgs<'a>
impl<'a> Send for MeasurementExecutionArgs<'a>
impl<'a> Sync for MeasurementExecutionArgs<'a>
impl<'a> Unpin for MeasurementExecutionArgs<'a>
impl<'a> UnsafeUnpin for MeasurementExecutionArgs<'a>
impl<'a> UnwindSafe for MeasurementExecutionArgs<'a>
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§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
Mutably borrows from an owned value. Read more
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::Request§impl<L> LayerExt<L> for L
impl<L> LayerExt<L> for L
§fn named_layer<S>(&self, service: S) -> Layered<<L as Layer<S>>::Service, S>where
L: Layer<S>,
fn named_layer<S>(&self, service: S) -> Layered<<L as Layer<S>>::Service, S>where
L: Layer<S>,
Applies the layer to a service and wraps it in [
Layered].