Struct libp2p::core::Connected [−][src]
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 Connectedimpl UnwindSafe for ConnectedBlanket Implementations
Mutably borrows from an owned value. Read more
pub fn vzip(self) -> V