pub fn select_gossips(&self, gossip_recipient: &NodeData) -> impl Iterator<Item = NodeData> {
        let mut topology = self.lock.write().unwrap();
        topology
            .select_gossips(&gossip_recipient.0)
            .into_iter()
            .map(|(_, v)| NodeData(v))
    }
/// this is the function to utilise in order to select gossips to share
/// with a given node
this is the function to utilise in order to select gossips to share
with a given node
this is the function to utilise in order to select gossips to share with a given node
pub fn select_gossips(&self, gossip_recipient: &NodeData) -> impl Iterator<Item = NodeData> {
        let mut topology = self.lock.write().unwrap();
        topology
            .select_gossips(&gossip_recipient.0)
            .into_iter()
            .map(|(_, v)| NodeData(v))
    }
pub fn select_gossips ( & self , gossip_recipient : & NodeData ) -> impl Iterator < Item = NodeData > { let mut topology = self . lock . write ( ) . unwrap ( ) ; topology . select_gossips ( & gossip_recipient . 0 ) . into_iter ( ) . map ( | ( _ , v ) | NodeData ( v ) ) }
this is the function to utilise in order to select gossips to share
with a given node
this is the function to utilise in order to select gossips to share with a given node
&self
gossip_recipient
&NodeData
&self
gossip_recipient
&NodeData