pub struct WriteConfig<'a> {
pub print_to_cli: bool,
pub output_file: File,
pub metadata_args: MetadataArgs<'a>,
pub m_type: MeasurementType,
pub is_multi_origin: bool,
pub worker_map: BiHashMap<u32, String>,
pub is_chaos: bool,
pub is_sessions: bool,
}Expand description
Configuration for the results writing process.
Fields§
§print_to_cli: boolDetermines whether the results should also be printed to the command-line interface.
output_file: FileThe file handle to which the measurement results should be written.
metadata_args: MetadataArgs<'a>Metadata for the measurement, to be written at the beginning of the output file.
m_type: MeasurementTypeMeasurement type
is_multi_origin: boolIndicates whether the measurement involves multiple origins
worker_map: BiHashMap<u32, String>A bidirectional map used to convert worker IDs (u16) to their corresponding hostnames (String).
is_chaos: boolIndicate whether any Origin is for CHAOS
is_sessions: boolWhether feed sessions are enabled (–sessions; adds a ‘session’ column to feed output)
Auto Trait Implementations§
impl<'a> Freeze for WriteConfig<'a>
impl<'a> RefUnwindSafe for WriteConfig<'a>
impl<'a> Send for WriteConfig<'a>
impl<'a> Sync for WriteConfig<'a>
impl<'a> Unpin for WriteConfig<'a>
impl<'a> UnsafeUnpin for WriteConfig<'a>
impl<'a> UnwindSafe for WriteConfig<'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].