Struct quinn_proto::congestion::NewRenoConfig[][src]

pub struct NewRenoConfig { /* fields omitted */ }

Configuration for the NewReno congestion controller

Implementations

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 Debug for NewRenoConfig[src]

impl Default for NewRenoConfig[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,