pub fn with_discover<NewD>(self, discover: NewD) -> PeerSetBuilder<NewD, C> {
        PeerSetBuilder {
            discover: Some(discover),
            config: self.config,
            demand_signal: self.demand_signal,
            handle_rx: self.handle_rx,
            inv_stream: self.inv_stream,
            address_book: self.address_book,
            minimum_peer_version: self.minimum_peer_version,
        }
    }
/// Use the provided `discover` parameter when constructing the [`PeerSet`] instance.
Use the provided `discover` parameter when constructing the [`PeerSet`] instance.
Use the provided ` discover ` parameter when constructing the [ ` PeerSet ` ] instance .
pub fn with_discover<NewD>(self, discover: NewD) -> PeerSetBuilder<NewD, C> {
        PeerSetBuilder {
            discover: Some(discover),
            config: self.config,
            demand_signal: self.demand_signal,
            handle_rx: self.handle_rx,
            inv_stream: self.inv_stream,
            address_book: self.address_book,
            minimum_peer_version: self.minimum_peer_version,
        }
    }
pub fn with_discover < NewD > ( self , discover : NewD ) -> PeerSetBuilder < NewD , C > { PeerSetBuilder { discover : Some ( discover ) , config : self . config , demand_signal : self . demand_signal , handle_rx : self . handle_rx , inv_stream : self . inv_stream , address_book : self . address_book , minimum_peer_version : self . minimum_peer_version , } }
Use the provided `discover` parameter when constructing the [`PeerSet`] instance.
Use the provided ` discover ` parameter when constructing the [ ` PeerSet ` ] instance .
self
discover
NewD