[][src]Enum quiche::CongestionControlAlgorithm

pub enum CongestionControlAlgorithm {

Available congestion control algorithms.

This enum provides currently available list of congestion control algorithms.



Reno congestion control algorithm. reno in a string form.


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

impl RefUnwindSafe for CongestionControlAlgorithm

impl Send for CongestionControlAlgorithm

impl Sync for CongestionControlAlgorithm

impl Unpin for CongestionControlAlgorithm

impl UnwindSafe for CongestionControlAlgorithm

Blanket Implementations

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

impl<T> Borrow<T> for T where
    T: ?Sized

impl<T> BorrowMut<T> for T where
    T: ?Sized

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

impl<T, U> Into<U> for T where
    U: From<T>, 

impl<T> ToOwned for T where
    T: Clone

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 

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

The type returned in the event of a conversion error.