#[non_exhaustive]pub struct Resolved {
pub max_streams: u64,
pub gso: Option<bool>,
pub idle_timeout: Duration,
pub keep_alive: Option<Duration>,
pub mtu_discovery: bool,
pub congestion_control: Option<CongestionControl>,
pub qlog: Option<PathBuf>,
}Expand description
A resolved view of the per-connection knobs (defaults filled in), shared by
Client and Server so backends apply them the same way regardless of role.
The backends consume it, and Client::resolve produces it. Resolved::default
is therefore the canonical statement of what every QUIC knob defaults to, which is
what a UI should show rather than repeating the numbers.
Non-exhaustive because it gains a field for every knob Client gains, so build it
from Client::resolve or Resolved::default rather than a struct literal.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.max_streams: u64Max concurrent streams (bidi and uni).
gso: Option<bool>GSO override, or None to leave the backend default (on).
idle_timeout: DurationIdle timeout.
keep_alive: Option<Duration>Keep-alive interval, or None when disabled.
mtu_discovery: boolWhether to run path MTU discovery.
congestion_control: Option<CongestionControl>Congestion control override, or None for the backend’s own default. Each
backend picks that default itself, since they don’t all agree.
qlog: Option<PathBuf>Directory to write qlog traces into, or None to not capture them.