[−][src]Module tower_test::mock
Mock Service
that can be used in tests.
Re-exports
pub use spawn::Spawn; |
Modules
error | Error types |
future | Future types |
spawn | Spawn mock services onto a mock task. |
Structs
Handle | Handle to the |
Mock | A mock service |
SendResponse | Send a response in reply to a received request. |
Functions
pair | Create a new |
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. |