Type Definition libp2p::swarm::NegotiatedSubstream
source · [−]pub type NegotiatedSubstream = Negotiated<SubstreamRef<Arc<StreamMuxerBox>>>;
Expand description
Substream for which a protocol has been chosen.
Implements the AsyncRead
and
AsyncWrite
traits.