pub fn addresses(self, addresses: Vec<Multiaddr>) -> WithPeerIdWithAddresses {
        WithPeerIdWithAddresses {
            peer_id: self.peer_id,
            addresses,
            dial_concurrency_factor_override: Default::default(),
            role_override: Endpoint::Dialer,
        }
    }
/// Specify a set of addresses to be used to dial the known peer.
Specify a set of addresses to be used to dial the known peer.
Specify a set of addresses to be used to dial the known peer .
pub fn addresses(self, addresses: Vec<Multiaddr>) -> WithPeerIdWithAddresses {
        WithPeerIdWithAddresses {
            peer_id: self.peer_id,
            addresses,
            dial_concurrency_factor_override: Default::default(),
            role_override: Endpoint::Dialer,
        }
    }
pub fn addresses ( self , addresses : Vec < Multiaddr > ) -> WithPeerIdWithAddresses { WithPeerIdWithAddresses { peer_id : self . peer_id , addresses , dial_concurrency_factor_override : Default :: default ( ) , role_override : Endpoint :: Dialer , } }
Specify a set of addresses to be used to dial the known peer.
Specify a set of addresses to be used to dial the known peer .
self
addresses
Vec<Multiaddr>