pub struct Config {
pub min_cwnd: u64,
pub init_cwnd: u64,
pub probe_rtt_time: Duration,
pub probe_rtt_based_on_bdp: bool,
pub drain_to_target: bool,
pub startup_growth_target: f32,
pub default_high_gain: f32,
pub derived_high_cwnd_gain: f32,
pub pacing_gain: [f32; 8],
pub min_rtt_expire_time: Duration,
pub mode_rate_probe_rtt_multiplier: f32,
pub round_trips_with_growth_before_exiting_startup: u8,
}Fields§
§min_cwnd: u64§init_cwnd: u64§probe_rtt_time: Duration§probe_rtt_based_on_bdp: bool§drain_to_target: bool§startup_growth_target: f32§default_high_gain: f32§derived_high_cwnd_gain: f32§pacing_gain: [f32; 8]§min_rtt_expire_time: Duration§mode_rate_probe_rtt_multiplier: f32§round_trips_with_growth_before_exiting_startup: u8Trait Implementations§
Auto Trait Implementations§
impl Freeze for Config
impl RefUnwindSafe for Config
impl Send for Config
impl Sync for Config
impl Unpin for Config
impl UnwindSafe for Config
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> 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