Crate mockable

Source

Structs§

Command
A command.
CommandOutput
The output of a command.
DefaultClock
Default implementation of Clock.
DefaultCommandRunner
Default implementation of CommandRunner.
DefaultEnv
Default implementation of Env.
DefaultHttpServer
Default implementation of HttpServer.
DefaultSystem
Default implementation of System.
DefaultUuidGenerator
Default implementation of UuidGenerator.
HttpRequest
HTTP request.
Mock
Struct that represents a function mock.
MockClock
mockall implementation of Clock.
MockCommandRunner
mockall implementation of CommandRunner.
MockEnv
mockall implementation of Env.
MockHttpServer
mockall implementation of HttpServer.
MockSystem
mockall implementation of System.
MockUuidGenerator
mockall implementation of UuidGenerator.

Enums§

HttpResponse
HTTP response.

Traits§

Clock
A trait for getting the current time.
CommandRunner
A trait for running commands.
Env
A trait for getting environment variables.
HttpServer
Simple HTTP server that listen all requests.
System
A trait for interacting with the system.
UuidGenerator
A trait for generating UUIDs.