pub fn create_demand_sender(&mut self) -> mpsc::Sender<MorePeers> {
        let (sender, receiver) = mpsc::channel(1);

        self.demand_receiver = Some(receiver);

        sender
    }
/// Create a dummy channel for the [`PeerSet`] to send demand signals for more peers.
///
/// The receiver is stored inside the [`PeerSetGuard`], while the sender is returned to be
/// passed to the [`PeerSet`] constructor.
Create a dummy channel for the [`PeerSet`] to send demand signals for more peers.
The receiver is stored inside the [`PeerSetGuard`], while the sender is returned to be
passed to the [`PeerSet`] constructor.
Create a dummy channel for the [ ` PeerSet ` ] to send demand signals for more peers . The receiver is stored inside the [ ` PeerSetGuard ` ] while the sender is returned to be passed to the [ ` PeerSet ` ] constructor .
pub fn create_demand_sender(&mut self) -> mpsc::Sender<MorePeers> {
        let (sender, receiver) = mpsc::channel(1);
        self.demand_receiver = Some(receiver);
        sender
    }
pub fn create_demand_sender ( & mut self ) -> mpsc :: Sender < MorePeers > { let ( sender , receiver ) = mpsc :: channel ( 1 ) ; self . demand_receiver = Some ( receiver ) ; sender }
Create a dummy channel for the [`PeerSet`] to send demand signals for more peers.
Create a dummy channel for the [ ` PeerSet ` ] to send demand signals for more peers .
&mut self