Node

pub struct Node {
    key: u64,
    value: Option<HandlerObj>,
    children: [NodeId; MAX_CHILDREN],
    children_count: usize,
    mws: Option<Vec<HandlerObj>>,
}

Router

pub struct Router {
    nodes: Vec<Node>,
}

其它

pub type HandlerObj = Arc<Handler + Send + Sync>;

struct NodeId(usize);

results matching ""

    No results matching ""