pub struct DataClientConfigBuilder<S: State = Empty> { /* private fields */ }Expand description
Use builder syntax to set the inputs and finish with build().
Implementations§
Source§impl<S: State> DataClientConfigBuilder<S>
impl<S: State> DataClientConfigBuilder<S>
Sourcepub fn build(self) -> DataClientConfigwhere
S: IsComplete,
pub fn build(self) -> DataClientConfigwhere
S: IsComplete,
Finish building and return the requested object
Sourcepub fn handle_revised_bars(
self,
value: bool,
) -> DataClientConfigBuilder<SetHandleRevisedBars<S>>where
S::HandleRevisedBars: IsUnset,
pub fn handle_revised_bars(
self,
value: bool,
) -> DataClientConfigBuilder<SetHandleRevisedBars<S>>where
S::HandleRevisedBars: IsUnset,
Sourcepub fn maybe_handle_revised_bars(
self,
value: Option<bool>,
) -> DataClientConfigBuilder<SetHandleRevisedBars<S>>where
S::HandleRevisedBars: IsUnset,
pub fn maybe_handle_revised_bars(
self,
value: Option<bool>,
) -> DataClientConfigBuilder<SetHandleRevisedBars<S>>where
S::HandleRevisedBars: IsUnset,
Sourcepub fn instrument_provider(
self,
value: InstrumentProviderConfig,
) -> DataClientConfigBuilder<SetInstrumentProvider<S>>where
S::InstrumentProvider: IsUnset,
pub fn instrument_provider(
self,
value: InstrumentProviderConfig,
) -> DataClientConfigBuilder<SetInstrumentProvider<S>>where
S::InstrumentProvider: IsUnset,
Sourcepub fn maybe_instrument_provider(
self,
value: Option<InstrumentProviderConfig>,
) -> DataClientConfigBuilder<SetInstrumentProvider<S>>where
S::InstrumentProvider: IsUnset,
pub fn maybe_instrument_provider(
self,
value: Option<InstrumentProviderConfig>,
) -> DataClientConfigBuilder<SetInstrumentProvider<S>>where
S::InstrumentProvider: IsUnset,
Sourcepub fn routing(
self,
value: RoutingConfig,
) -> DataClientConfigBuilder<SetRouting<S>>where
S::Routing: IsUnset,
pub fn routing(
self,
value: RoutingConfig,
) -> DataClientConfigBuilder<SetRouting<S>>where
S::Routing: IsUnset,
Sourcepub fn maybe_routing(
self,
value: Option<RoutingConfig>,
) -> DataClientConfigBuilder<SetRouting<S>>where
S::Routing: IsUnset,
pub fn maybe_routing(
self,
value: Option<RoutingConfig>,
) -> DataClientConfigBuilder<SetRouting<S>>where
S::Routing: IsUnset,
Auto Trait Implementations§
impl<S> Freeze for DataClientConfigBuilder<S>
impl<S> RefUnwindSafe for DataClientConfigBuilder<S>
impl<S> Send for DataClientConfigBuilder<S>
impl<S> Sync for DataClientConfigBuilder<S>
impl<S> Unpin for DataClientConfigBuilder<S>
impl<S> UnsafeUnpin for DataClientConfigBuilder<S>
impl<S> UnwindSafe for DataClientConfigBuilder<S>
Blanket Implementations§
impl<T> Allocation for T
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<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> 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