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.
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for WithoutPeerIdWithAddress
impl Send for WithoutPeerIdWithAddress
impl Sync for WithoutPeerIdWithAddress
impl Unpin for WithoutPeerIdWithAddress
impl UnwindSafe for WithoutPeerIdWithAddress
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more