fn update(&mut self, our_node: &Node, known_nodes: &BTreeMap<Id, Node>) {
        self.view = self
            .select_closest_nodes(our_node, known_nodes, VICINITY_MAX_VIEW_SIZE)
            .keys()
            .cloned()
            .collect();
    }
/// update the Module's internal state based on the Node's subscribers
/// and subscriptions.
update the Module's internal state based on the Node's subscribers
and subscriptions.
update the Module ' s internal state based on the Node ' s subscribers and subscriptions .
fn update(&mut self, our_node: &Node, known_nodes: &BTreeMap<Id, Node>) {
        self.view = self
            .select_closest_nodes(our_node, known_nodes, VICINITY_MAX_VIEW_SIZE)
            .keys()
            .cloned()
            .collect();
    }
fn update ( & mut self , our_node : & Node , known_nodes : & BTreeMap < Id , Node > ) { self . view = self . select_closest_nodes ( our_node , known_nodes , VICINITY_MAX_VIEW_SIZE ) . keys ( ) . cloned ( ) . collect ( ) ; }
update the Module's internal state based on the Node's subscribers
and subscriptions.
update the Module ' s internal state based on the Node ' s subscribers and subscriptions .
&mut self
our_node
&Node
known_nodes
&BTreeMap<Id, Node>