pub(crate) async fn gossip_message<I, P>(
        self,
        payload: P,
        count: usize,
        exclude: HashSet<I>,
    ) -> HashSet<I>
    where
        REv: From<NetworkRequest<I, P>>,
        I: Send + 'static,
        P: Send,
    {
        self.make_request(
            |responder| NetworkRequest::Gossip {
                payload: Box::new(payload),
                count,
                exclude,
                responder,
            },
            QueueKind::Network,
        )
        .await
    }
/// Gossips a network message.
///
/// A low-level "gossip" function, selects `count` randomly chosen nodes on the network,
/// excluding the indicated ones, and sends each a copy of the message.
///
/// Returns the IDs of the chosen nodes.
Gossips a network message.
A low-level "gossip" function, selects `count` randomly chosen nodes on the network,
excluding the indicated ones, and sends each a copy of the message.

Returns the IDs of the chosen nodes.
Gossips a network message . A low - level " gossip " function selects ` count ` randomly chosen nodes on the network excluding the indicated ones and sends each a copy of the message . Returns the IDs of the chosen nodes .
pub(crate) async fn gossip_message<I, P>(
        self,
        payload: P,
        count: usize,
        exclude: HashSet<I>,
    ) -> HashSet<I>
    where
        REv: From<NetworkRequest<I, P>>,
        I: Send + 'static,
        P: Send,
    {
        self.make_request(
            |responder| NetworkRequest::Gossip {
                payload: Box::new(payload),
                count,
                exclude,
                responder,
            },
            QueueKind::Network,
        )
        .await
    }
pub ( crate ) async fn gossip_message < I , P > ( self , payload : P , count : usize , exclude : HashSet < I > , ) -> HashSet < I > where REv : From < NetworkRequest < I , P > > , I : Send + ' static , P : Send , { self . make_request ( | responder | NetworkRequest :: Gossip { payload : Box :: new ( payload ) , count , exclude , responder , } , QueueKind :: Network , ) . await }
Gossips a network message.
Gossips a network message .
self
payload
P
count
usize
exclude
HashSet<I>
self
payload
P
count
usize
exclude
HashSet<I>