Expand description
Mock objects for Tokio’s AsyncRead
and AsyncWrite
.
This crate is an alternative to the mocks in tokio-test.
Structs§
- Handle
- Handle which can send actions to the Mock and monitor Event’s as the mock consumes the actions
- Mock
- Mock object that can be used in lieu of a socket, etc
Enums§
- Event
- Events that is produced as the Mock consumes an action
Functions§
- mock
- Create a Mock I/O object and a controlling Handle