跳到主要内容

ControllerFactory

搜索

trait ControllerFactory 

源代码
pub trait ControllerFactory {
    // Required method
    fn build(
        self: Arc<Self>,
        now: Instant,
        current_mtu: u16,
    ) -> Box<dyn Controller>;
}
展开描述

按需构造控制器

必需方法§

源代码

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

构造一个新的 Controller

实现者§