Struct quinn_proto::congestion::NewRenoConfig [−][src]
pub struct NewRenoConfig { /* fields omitted */ }
Configuration for the NewReno
congestion controller
Implementations
impl NewRenoConfig
[src]
impl NewRenoConfig
[src]pub fn max_datagram_size(&mut self, value: u64) -> &mut Self
[src]
The sender’s maximum UDP payload size. Does not include UDP or IP overhead.
Used for calculating initial and minimum congestion windows.
pub fn initial_window(&mut self, value: u64) -> &mut Self
[src]
Default limit on the amount of outstanding data in bytes.
Recommended value: min(10 * max_datagram_size, max(2 * max_datagram_size, 14720))
pub fn minimum_window(&mut self, value: u64) -> &mut Self
[src]
Default minimum congestion window.
Recommended value: 2 * max_datagram_size
.
pub fn loss_reduction_factor(&mut self, value: f32) -> &mut Self
[src]
Reduction in congestion window when a new loss event is detected.
Trait Implementations
impl Clone for NewRenoConfig
[src]
impl Clone for NewRenoConfig
[src]fn clone(&self) -> NewRenoConfig
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Default for NewRenoConfig
[src]
impl Default for NewRenoConfig
[src]Auto Trait Implementations
impl RefUnwindSafe for NewRenoConfig
impl RefUnwindSafe for NewRenoConfig
impl Send for NewRenoConfig
impl Send for NewRenoConfig
impl Sync for NewRenoConfig
impl Sync for NewRenoConfig
impl Unpin for NewRenoConfig
impl Unpin for NewRenoConfig
impl UnwindSafe for NewRenoConfig
impl UnwindSafe for NewRenoConfig
Blanket Implementations
impl<T> Instrument for T
[src]
impl<T> Instrument for T
[src]pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,