[][src]Module libp2prs_swarm::connection

Communication channel to the remote peer.

The Swarm Connection is the multiplexed connection, which can be used to open or accept new substreams. Furthermore, a raw substream opened by the StreamMuxer has to be upgraded to the Swarm Substream via multistream select procedure.

Structs

Connection

A multiplexed connection to a peer with associated Substreams.

ConnectionId
ConnectionInfo

Information about the network obtained by [Network::info()].

ConnectionLimit

Information about a connection limit.

ConnectionView

ConnectionView is used for debugging purpose.

Enums

Direction

The direction of a peer-to-peer communication channel.