Type Definition libp2p::swarm::NegotiatedSubstream[][src]

type NegotiatedSubstream = Negotiated<SubstreamRef<Arc<StreamMuxerBox>>>;

Substream for which a protocol has been chosen.

Implements the AsyncRead and AsyncWrite traits.