Type Alias libp2p::swarm::NegotiatedSubstream
source · pub type NegotiatedSubstream = Stream;
👎Deprecated: The ‘substream’ terminology is deprecated. Use ‘Stream’ instead
Expand description
Substream for which a protocol has been chosen.
Implements the AsyncRead
and AsyncWrite
traits.
Aliased Type§
struct NegotiatedSubstream(/* private fields */);