pub trait ControllerFactory {
// Required method
fn build(
self: Arc<Self>,
now: Instant,
current_mtu: u16,
) -> Box<dyn Controller>;
}
Expand description
Constructs controllers on demand
pub trait ControllerFactory {
// Required method
fn build(
self: Arc<Self>,
now: Instant,
current_mtu: u16,
) -> Box<dyn Controller>;
}
Constructs controllers on demand