Skip to main content

Module dev

Module dev 

Source
Expand description

Combinator and helper types used by the public API.

Structsยง

AndThen
Service produced by the and_then combinator.
AndThenFactory
Service factory produced by the and_then combinator.
Apply
Service produced by apply_fn.
ApplyCtx
Context passed to middleware functions created by apply_fn.
ApplyFactory
Service factory produced by apply_fn_factory.
ApplyMiddleware
A service factory with middleware applied.
FnFactory
A ServiceFactory backed by an asynchronous constructor function.
FnMiddleware
Middleware backed by an asynchronous function.
FnReadiness
A pass-through service with readiness controlled by an asynchronous function.
FnService
A Service backed by an asynchronous function.
FnServiceSt
A state-aware Service backed by an asynchronous function.
FnServiceStFactory
A service factory backed by a clonable, state-aware asynchronous function.
FnShutdown
A pass-through service that invokes an asynchronous shutdown callback once.
Map
Service produced by the map combinator.
MapErr
Service produced by the map_err combinator.
MapErrFactory
Service factory produced by the map_err combinator.
MapFactory
Service factory produced by the map combinator.
MapInitErr
Service factory produced by the map_init_err combinator.
MapState
A service that substitutes fixed state for the outer pipeline state.
MapStateFactory
A factory that creates MapState services using fixed state.
ServiceChain
A builder for composing services and combinators into one service.
ServiceChainFactory
A builder for composing service factories and combinators.
Then
Service produced by the then combinator.
ThenFactory
Service factory produced by the then combinator.