Structs§
- AndThen
- Service for the
and_thencombinator, chaining a computation onto the end of another service which completes successfully. - AndThen
Factory .and_then()service factory combinator- Apply
Applyservice combinator- Apply
Factory apply()service factory- Apply
Middleware Applymiddleware to a service factory.- Apply
Middleware2 Applymiddleware to a service factory.- FnService
- FnService
Config - Convert
AsyncFn(Cfg) -> Result<Srv, Err>fn to NewService - FnService
Factory - FnService
NoConfig - Converter for
Fn() -> Future<Service>fn - FnShutdown
- Map
- Service for the
mapcombinator, changing the type of a service’s response. - MapConfig
map_config()adapter service factory- MapErr
- Service for the
map_errcombinator, changing the type of a service’s error. - MapErr
Factory - Factory for the
map_errcombinator, changing the type of a new service’s error. - MapFactory
MapNewServicenew service combinator- MapInit
Err MapInitErrservice combinator- Service
Chain - Chain builder - chain allows to compose multiple service into one service.
- Service
Chain Factory - Service factory builder
- Then
- Service for the
thencombinator, chaining a computation onto the end of another service. - Then
Factory .then()service factory combinator- Unit
Config unit_config()config combinator