Expand description
A reader/writer streams to mock real streams in tests.
Structsยง
- Failing
Mock Stream FailingMockStream
mocks a stream which will fail upon read or write- Mock
Stream - MockStream is Read+Write stream that stores the data written and provides the data to be read.
- Shared
Mock Stream - Reference-counted stream.
- Sync
Mock Stream - Thread-safe stream.