Structs§
- AndThen
- Calls two services in sequence, passing the first response to the second.
- AndThen
Factory - Creates an
AndThenservice from two service factories. - Apply
- Middleware service constructed by
apply_fnorApplyFactory. - Apply
Ctx - State and inner-service access for
apply_fnandapply_fn_factorymiddleware. - Apply
Factory - Service factory produced by
apply_fn_factory. - Apply
Middleware - A service factory with middleware applied.
- FnFactory
- A
ServiceFactorybacked 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
Servicebacked by an asynchronous function. - FnService
St - A state-aware
Servicebacked by an asynchronous function. - FnService
StFactory - A service factory backed by a cloneable, state-aware asynchronous function.
- FnShutdown
- A pass-through service that invokes an asynchronous shutdown callback once.
- Inline
Future - Type-erased future stored inline when it fits into
WORDSmachine words. - Map
- Transforms successful service responses with a synchronous function.
- MapErr
- Transforms call and readiness errors with a synchronous function.
- MapErr
Factory - Maps call and readiness errors from each service created by an inner factory.
- MapFactory
- Maps successful responses from each service created by an inner factory.
- MapInit
Err - Service factory produced by the
map_init_errcombinator. - MapState
- A service that substitutes fixed state for the outer pipeline state.
- MapState
Factory - A factory that creates
MapStateservices using fixed state. - Ready
- Service produced by
ready(). - Ready
Factory - Factory produced by
ready_factory. - Service
Chain - A builder for composing services and combinators into one service.
- Service
Chain Factory - A builder for composing service factories and combinators.
- Then
- Passes a service’s complete call result to a second service.
- Then
Factory - Creates a
Thenservice from two service factories.