pub struct Config {
pub target_delay_micros: u32,
pub initial_timeout: Duration,
pub min_timeout: Duration,
pub max_timeout: Duration,
pub max_packet_size_bytes: u32,
pub max_window_size_inc_bytes: u32,
pub gain: f32,
pub delay_window: Duration,
}
Fields§
§target_delay_micros: u32
§initial_timeout: Duration
§min_timeout: Duration
§max_timeout: Duration
§max_packet_size_bytes: u32
§max_window_size_inc_bytes: u32
§gain: f32
§delay_window: Duration
Trait Implementations§
Source§impl From<ConnectionConfig> for Config
impl From<ConnectionConfig> for Config
Source§fn from(value: ConnectionConfig) -> Self
fn from(value: ConnectionConfig) -> Self
Converts to this type from the input type.
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