[][src]Module libp2prs_swarm::substream

Logical Substream for peer-to-peer communication.

Substream is opened via [Connection]'s stream muxer and then upgraded with the specified protocols.

Structs

StreamId

The Id of sub stream

Substream

Substream is the logical channel for the p2p connection. SubstreamMeta contains the meta information of the substream and IReadWrite provides the I/O operation to Substream.

SubstreamInfo
SubstreamView

SubstreamView represents the basic information of a substream.