[][src]Enum quiche::CongestionControlAlgorithm

#[repr(C)]pub enum CongestionControlAlgorithm {
    Reno,
    CUBIC,
}

Available congestion control algorithms.

This enum provides currently available list of congestion control algorithms.

Variants

Reno

Reno congestion control algorithm. reno in a string form.

CUBIC

CUBIC congestion control algorithm (default). cubic in a string form.

Trait Implementations

impl Clone for CongestionControlAlgorithm[src]

impl Copy for CongestionControlAlgorithm[src]

impl Debug for CongestionControlAlgorithm[src]

impl FromStr for CongestionControlAlgorithm[src]

type Err = Error

The associated error which can be returned from parsing.

fn from_str(name: &str) -> Result<Self, Self::Err>[src]

Converts a string to CongestionControlAlgorithm.

If name is not valid, Error::CongestionControl is returned.

impl PartialEq<CongestionControlAlgorithm> for CongestionControlAlgorithm[src]

impl StructuralPartialEq for CongestionControlAlgorithm[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, 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.