pub fn divide_stream<TAsyncDuplex: AsyncRead + AsyncWrite + Send + Unpin + ?Sized + 'static>(
    id: u16,
    label: impl AsRef<str> + ToString,
    buffer_size: usize,
    stream: Box<TAsyncDuplex>
) -> (Box<dyn Channel>, Box<dyn Channel>)
Expand description

Divides a channel into two.