pub struct TardisReplayConfigBuilder<S: State = Empty> { /* private fields */ }Expand description
Use builder syntax to set the inputs and finish with build().
Implementations§
Source§impl<S: State> TardisReplayConfigBuilder<S>
impl<S: State> TardisReplayConfigBuilder<S>
Sourcepub fn build(self) -> TardisReplayConfigwhere
S: IsComplete,
pub fn build(self) -> TardisReplayConfigwhere
S: IsComplete,
Finish building and return the requested object
Sourcepub fn tardis_ws_url(
self,
value: String,
) -> TardisReplayConfigBuilder<SetTardisWsUrl<S>>where
S::TardisWsUrl: IsUnset,
pub fn tardis_ws_url(
self,
value: String,
) -> TardisReplayConfigBuilder<SetTardisWsUrl<S>>where
S::TardisWsUrl: IsUnset,
Sourcepub fn maybe_tardis_ws_url(
self,
value: Option<String>,
) -> TardisReplayConfigBuilder<SetTardisWsUrl<S>>where
S::TardisWsUrl: IsUnset,
pub fn maybe_tardis_ws_url(
self,
value: Option<String>,
) -> TardisReplayConfigBuilder<SetTardisWsUrl<S>>where
S::TardisWsUrl: IsUnset,
Sourcepub fn normalize_symbols(
self,
value: bool,
) -> TardisReplayConfigBuilder<SetNormalizeSymbols<S>>where
S::NormalizeSymbols: IsUnset,
pub fn normalize_symbols(
self,
value: bool,
) -> TardisReplayConfigBuilder<SetNormalizeSymbols<S>>where
S::NormalizeSymbols: IsUnset,
Sourcepub fn maybe_normalize_symbols(
self,
value: Option<bool>,
) -> TardisReplayConfigBuilder<SetNormalizeSymbols<S>>where
S::NormalizeSymbols: IsUnset,
pub fn maybe_normalize_symbols(
self,
value: Option<bool>,
) -> TardisReplayConfigBuilder<SetNormalizeSymbols<S>>where
S::NormalizeSymbols: IsUnset,
Sourcepub fn output_path(
self,
value: String,
) -> TardisReplayConfigBuilder<SetOutputPath<S>>where
S::OutputPath: IsUnset,
pub fn output_path(
self,
value: String,
) -> TardisReplayConfigBuilder<SetOutputPath<S>>where
S::OutputPath: IsUnset,
Sourcepub fn maybe_output_path(
self,
value: Option<String>,
) -> TardisReplayConfigBuilder<SetOutputPath<S>>where
S::OutputPath: IsUnset,
pub fn maybe_output_path(
self,
value: Option<String>,
) -> TardisReplayConfigBuilder<SetOutputPath<S>>where
S::OutputPath: IsUnset,
Sourcepub fn options(
self,
value: Vec<ReplayNormalizedRequestOptions>,
) -> TardisReplayConfigBuilder<SetOptions<S>>where
S::Options: IsUnset,
pub fn options(
self,
value: Vec<ReplayNormalizedRequestOptions>,
) -> TardisReplayConfigBuilder<SetOptions<S>>where
S::Options: IsUnset,
Sourcepub fn maybe_options(
self,
value: Option<Vec<ReplayNormalizedRequestOptions>>,
) -> TardisReplayConfigBuilder<SetOptions<S>>where
S::Options: IsUnset,
pub fn maybe_options(
self,
value: Option<Vec<ReplayNormalizedRequestOptions>>,
) -> TardisReplayConfigBuilder<SetOptions<S>>where
S::Options: IsUnset,
Sourcepub fn proxy_url(
self,
value: String,
) -> TardisReplayConfigBuilder<SetProxyUrl<S>>where
S::ProxyUrl: IsUnset,
pub fn proxy_url(
self,
value: String,
) -> TardisReplayConfigBuilder<SetProxyUrl<S>>where
S::ProxyUrl: IsUnset,
Sourcepub fn maybe_proxy_url(
self,
value: Option<String>,
) -> TardisReplayConfigBuilder<SetProxyUrl<S>>where
S::ProxyUrl: IsUnset,
pub fn maybe_proxy_url(
self,
value: Option<String>,
) -> TardisReplayConfigBuilder<SetProxyUrl<S>>where
S::ProxyUrl: IsUnset,
Sourcepub fn book_snapshot_output(
self,
value: BookSnapshotOutput,
) -> TardisReplayConfigBuilder<SetBookSnapshotOutput<S>>where
S::BookSnapshotOutput: IsUnset,
pub fn book_snapshot_output(
self,
value: BookSnapshotOutput,
) -> TardisReplayConfigBuilder<SetBookSnapshotOutput<S>>where
S::BookSnapshotOutput: IsUnset,
Sourcepub fn maybe_book_snapshot_output(
self,
value: Option<BookSnapshotOutput>,
) -> TardisReplayConfigBuilder<SetBookSnapshotOutput<S>>where
S::BookSnapshotOutput: IsUnset,
pub fn maybe_book_snapshot_output(
self,
value: Option<BookSnapshotOutput>,
) -> TardisReplayConfigBuilder<SetBookSnapshotOutput<S>>where
S::BookSnapshotOutput: IsUnset,
Sourcepub fn compression(
self,
value: ParquetCompression,
) -> TardisReplayConfigBuilder<SetCompression<S>>where
S::Compression: IsUnset,
pub fn compression(
self,
value: ParquetCompression,
) -> TardisReplayConfigBuilder<SetCompression<S>>where
S::Compression: IsUnset,
Sourcepub fn maybe_compression(
self,
value: Option<ParquetCompression>,
) -> TardisReplayConfigBuilder<SetCompression<S>>where
S::Compression: IsUnset,
pub fn maybe_compression(
self,
value: Option<ParquetCompression>,
) -> TardisReplayConfigBuilder<SetCompression<S>>where
S::Compression: IsUnset,
Auto Trait Implementations§
impl<S> Freeze for TardisReplayConfigBuilder<S>
impl<S> RefUnwindSafe for TardisReplayConfigBuilder<S>
impl<S> Send for TardisReplayConfigBuilder<S>
impl<S> Sync for TardisReplayConfigBuilder<S>
impl<S> Unpin for TardisReplayConfigBuilder<S>
impl<S> UnsafeUnpin for TardisReplayConfigBuilder<S>
impl<S> UnwindSafe for TardisReplayConfigBuilder<S>
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
§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>
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>
Converts
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>
Converts
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