Struct libp2p_core::connection::Connected
source · [−]pub struct Connected {
pub endpoint: ConnectedPoint,
pub peer_id: PeerId,
}Expand description
Information about a successfully established connection.
Fields
endpoint: ConnectedPointThe connected endpoint, including network address information.
peer_id: PeerIdInformation obtained from the transport.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Connected
impl UnwindSafe for Connected
Blanket Implementations
Mutably borrows from an owned value. Read more