Function remux::into_stream[][src]

pub fn into_stream<T>(
    c: Connection<T>
) -> impl Stream<Item = Result<Stream, ConnectionError>> where
    T: AsyncRead + AsyncWrite + Unpin

Turn a Remux Connection into a [futures::Stream].