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: Option<&'a String>,
pub is_config: bool,
pub worker_map: BiHashMap<u32, String>,
}
Fields§
§is_cli: bool
Determines whether results should be streamed to the command-line interface as they arrive.
is_parquet: bool
Indicates whether the results should be written in Parquet format (default: .csv.gz).
is_shuffle: bool
Specifies whether the list of targets should be shuffled before the measurement begins.
hitlist_path: &'a str
The path to the file containing the list of measurement targets (the “hitlist”).
hitlist_length: usize
The total number of targets in the hitlist, used for estimating measurement duration.
out_path: Option<&'a String>
An optional path to a file where the final measurement results should be saved.
If None
, results will be written to the current directory with a default naming convention.
is_config: bool
Indicates whether the measurement is configuration-based (using a configuration file)
worker_map: BiHashMap<u32, String>
A bidirectional map used to resolve worker IDs to their corresponding hostnames.
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> UnwindSafe for MeasurementExecutionArgs<'a>
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
§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>
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>,
Layered
].