Function async_test_helpers::expect_stream_terminated

source ยท
pub fn expect_stream_terminated<S: Stream + Unpin>(
    exec: &mut TestExecutor,
    stream: &mut S,
)
Expand description

Polls the provided stream and expects that it is terminated (e.g. returns None).