Trait s2n_quic::provider::congestion_controller::Endpoint

source ·
pub trait Endpoint: 'static + Debug + Send {
    type CongestionController: CongestionController;

    // Required method
    fn new_congestion_controller(
        &mut self,
        path_info: PathInfo<'_>
    ) -> Self::CongestionController;
}

Required Associated Types§

Required Methods§

source

fn new_congestion_controller( &mut self, path_info: PathInfo<'_> ) -> Self::CongestionController

Implementors§

source§

impl Endpoint for s2n_quic::provider::congestion_controller::Bbr

source§

impl Endpoint for s2n_quic::provider::congestion_controller::Cubic