pub struct TransportConfig {
pub max_paths: usize,
pub health_check_interval: Duration,
pub dead_path_backoff: BackoffConfig,
pub max_symbols_in_flight: usize,
pub path_strategy: PathSelectionStrategy,
pub experiment_gate: ExperimentalTransportGate,
pub coding_policy: TransportCodingPolicy,
}Expand description
Transport configuration.
Fields§
§max_paths: usizeMaximum concurrent paths.
health_check_interval: DurationPath health check interval.
dead_path_backoff: BackoffConfigDead path retry backoff.
max_symbols_in_flight: usizeMaximum symbols in flight per path.
path_strategy: PathSelectionStrategyPath selection strategy.
experiment_gate: ExperimentalTransportGateOpt-in experimental transport gate. Defaults to fail-closed conservative behavior.
coding_policy: TransportCodingPolicyPreview-coded transport policy request. Defaults to conservative transport only.
Implementations§
Source§impl TransportConfig
impl TransportConfig
Sourcepub fn aggregator_config(&self) -> AggregatorConfig
pub fn aggregator_config(&self) -> AggregatorConfig
Produces an aggregator configuration with deterministic conservative fallbacks.
Trait Implementations§
Source§impl Clone for TransportConfig
impl Clone for TransportConfig
Source§fn clone(&self) -> TransportConfig
fn clone(&self) -> TransportConfig
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for TransportConfig
impl Debug for TransportConfig
Auto Trait Implementations§
impl Freeze for TransportConfig
impl RefUnwindSafe for TransportConfig
impl Send for TransportConfig
impl Sync for TransportConfig
impl Unpin for TransportConfig
impl UnsafeUnpin for TransportConfig
impl UnwindSafe for TransportConfig
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, _span: NoopSpan) -> Self
fn instrument(self, _span: NoopSpan) -> Self
Instruments this future with a span (no-op when disabled).
Source§fn in_current_span(self) -> Self
fn in_current_span(self) -> Self
Instruments this future with the current span (no-op when disabled).