Expand description
Mock Service that can be used in tests.
Re-exports§
pub use spawn::Spawn;
Modules§
Structs§
- Handle
- Handle to the
Mock. - Mock
- A mock service
- Send
Response - Send a response in reply to a received request.
Functions§
- pair
- Create a new
MockandHandlepair. - spawn
- Spawn a Service onto a mock task.
- spawn_
layer - Spawn a layer onto a mock service.
- spawn_
with - Spawn a Service via the provided wrapper closure.