ControllerFactory

Trait ControllerFactory 

pub trait ControllerFactory {
    // Required method
    fn build(
        self: Arc<Self>,
        now: Instant,
        current_mtu: u16,
    ) -> Box<dyn Controller>;
}
Available on crate feature quic only.
Expand description

Constructs controllers on demand

Required Methods§

fn build(self: Arc<Self>, now: Instant, current_mtu: u16) -> Box<dyn Controller>

Construct a fresh Controller

Implementors§