pub fn view(&self) -> Vec<Node> {
        let mut view = BTreeMap::new();

        for module in self.modules.values() {
            view.extend(
                module
                    .view(&self.known_nodes)
                    .into_iter()
                    .map(|(k, v)| (k, v.clone())),
            );
        }

        view.into_iter().map(|v| v.1).collect()
    }
/// this is the view, the Nodes that the we need to contact in our neighborhood
/// in order to propagate gossips (within other things).
this is the view, the Nodes that the we need to contact in our neighborhood
in order to propagate gossips (within other things).
this is the view the Nodes that the we need to contact in our neighborhood in order to propagate gossips ( within other things ) .
pub fn view(&self) -> Vec<Node> {
        let mut view = BTreeMap::new();
        for module in self.modules.values() {
            view.extend(
                module
                    .view(&self.known_nodes)
                    .into_iter()
                    .map(|(k, v)| (k, v.clone())),
            );
        }
        view.into_iter().map(|v| v.1).collect()
    }
pub fn view ( & self ) -> Vec < Node > { let mut view = BTreeMap :: new ( ) ; for module in self . modules . values ( ) { view . extend ( module . view ( & self . known_nodes ) . into_iter ( ) . map ( | ( k , v ) | ( k , v . clone ( ) ) ) , ) ; } view . into_iter ( ) . map ( | v | v . 1 ) . collect ( ) }
this is the view, the Nodes that the we need to contact in our neighborhood
in order to propagate gossips (within other things).
this is the view the Nodes that the we need to contact in our neighborhood in order to propagate gossips ( within other things ) .
&self