Struct scylla::tracing::GetTracingConfig [−][src]
pub struct GetTracingConfig {
pub attempts: NonZeroU32,
pub interval: Duration,
pub consistency: Consistency,
}
Expand description
Used to configure a custom retry strategy when querying tracing info
Fields
attempts: NonZeroU32
Number of attempts to be made before giving up. Default value: 5
interval: Duration
Interval to wait between each attempt. Default value: 3 milliseconds
consistency: Consistency
Consistency to use in queries that read TracingInfo. Default value: One
Trait Implementations
Returns the “default value” for a type. Read more
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for GetTracingConfig
impl Send for GetTracingConfig
impl Sync for GetTracingConfig
impl Unpin for GetTracingConfig
impl UnwindSafe for GetTracingConfig
Blanket Implementations
Mutably borrows from an owned value. Read more
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more