Struct libp2p_swarm::dial_opts::WithoutPeerId
source · pub struct WithoutPeerId {}
Implementations§
source§impl WithoutPeerId
impl WithoutPeerId
sourcepub fn address(self, address: Multiaddr) -> WithoutPeerIdWithAddress
pub fn address(self, address: Multiaddr) -> WithoutPeerIdWithAddress
Specify a single address to dial the unknown peer.
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for WithoutPeerId
impl Send for WithoutPeerId
impl Sync for WithoutPeerId
impl Unpin for WithoutPeerId
impl UnwindSafe for WithoutPeerId
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