Trait quinn_proto::congestion::ControllerFactory
source · pub trait ControllerFactory {
// Required method
fn build(&self, now: Instant) -> Box<dyn Controller>;
}
Expand description
Constructs controllers on demand
Required Methods§
sourcefn build(&self, now: Instant) -> Box<dyn Controller>
fn build(&self, now: Instant) -> Box<dyn Controller>
Construct a fresh Controller