Struct libp2p::core::connection::OutgoingInfo [−][src]
Borrowed information about an outgoing connection currently being negotiated.
Fields
address: &'a Multiaddr
peer_id: Option<&'a PeerId>
Implementations
impl<'a> OutgoingInfo<'a>
[src]
impl<'a> OutgoingInfo<'a>
[src]pub fn to_connected_point(&self) -> ConnectedPoint
[src][−]
Builds a ConnectedPoint
corresponding to the outgoing connection.
Trait Implementations
impl<'a> Clone for OutgoingInfo<'a>
[src]
impl<'a> Clone for OutgoingInfo<'a>
[src]pub fn clone(&self) -> OutgoingInfo<'a>
[src][−]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src][−]
impl<'a> Debug for OutgoingInfo<'a>
[src]
impl<'a> Debug for OutgoingInfo<'a>
[src]