Skip to main content

Module connection_options_builder

Module connection_options_builder 

Source
Expand description

Tools for manipulating the type state of ConnectionOptionsBuilder.

See the detailed guide that describes how all the pieces here fit together.

Structs§

Empty
Represents a State that has IsUnset implemented for all members.
SetApiKey
Represents a State that has IsSet implemented for State::ApiKey.
SetBinaryHeaders
Represents a State that has IsSet implemented for State::BinaryHeaders.
SetClientName
Represents a State that has IsSet implemented for State::ClientName.
SetClientVersion
Represents a State that has IsSet implemented for State::ClientVersion.
SetDisableErrorCodeMetricTags
Represents a State that has IsSet implemented for State::DisableErrorCodeMetricTags.
SetHeaders
Represents a State that has IsSet implemented for State::Headers.
SetHttpConnectProxy
Represents a State that has IsSet implemented for State::HttpConnectProxy.
SetIdentity
Represents a State that has IsSet implemented for State::Identity.
SetKeepAlive
Represents a State that has IsSet implemented for State::KeepAlive.
SetMetricsMeter
Represents a State that has IsSet implemented for State::MetricsMeter.
SetOverrideOrigin
Represents a State that has IsSet implemented for State::OverrideOrigin.
SetRetryOptions
Represents a State that has IsSet implemented for State::RetryOptions.
SetServiceOverride
Represents a State that has IsSet implemented for State::ServiceOverride.
SetSkipGetSystemInfo
Represents a State that has IsSet implemented for State::SkipGetSystemInfo.
SetTlsOptions
Represents a State that has IsSet implemented for State::TlsOptions.

Traits§

IsComplete
Marker trait that indicates that all required members are set.
IsSet
Marker trait that indicates that the member is set, i.e. at least one of its setters was called.
IsUnset
Marker trait that indicates that the member is unset, i.e. none of its setters was called.
State
Builder’s type state specifies if members are set or not (unset).