Function test_stream

Source
pub async fn test_stream<TAsyncDuplex: AsyncRead + AsyncWrite + Send + ?Sized + Unpin + 'static>(
    channel1: Box<TAsyncDuplex>,
    channel2: Box<TAsyncDuplex>,
    options: TestOptions,
) -> (Pin<Box<TAsyncDuplex>>, Pin<Box<TAsyncDuplex>>)
Expand description

Test asynchronous duplex with both framed and raw binary streams.