Function yamux::into_stream
source · [−]pub fn into_stream<T>(
c: Connection<T>
) -> impl Stream<Item = Result<Stream, ConnectionError>> where
T: AsyncRead + AsyncWrite + Unpin,
Expand description
Turn a Yamux Connection
into a futures::Stream
.