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