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