Module io

Source
Expand description

Mocking helpers for testing with futures::io types.

Note that some of this code might be of general use, but for now we’re only trying it for testing.

Structs§

LocalStream
One half of a pair of linked streams returned by stream_pair.
SyntheticError
An error generated by LocalStream::send_err.

Functions§

stream_pair
Construct a new pair of linked LocalStream objects.