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