async_test_helpers

Function 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).