Struct libp2p::swarm::dial_opts::WithoutPeerIdWithAddress
source · pub struct WithoutPeerIdWithAddress { /* private fields */ }
Implementations§
source§impl WithoutPeerIdWithAddress
impl WithoutPeerIdWithAddress
sourcepub fn override_role(self) -> WithoutPeerIdWithAddress
pub fn override_role(self) -> WithoutPeerIdWithAddress
Override role of local node on connection. I.e. execute the dial as a listener.
See
ConnectedPoint::Dialer
for details.