Skip to main content

Module dev

Module dev 

Source

Structs§

AndThen
Calls two services in sequence, passing the first response to the second.
AndThenFactory
Creates an AndThen service from two service factories.
Apply
Middleware service constructed by apply_fn or ApplyFactory.
ApplyCtx
State and inner-service access for apply_fn and apply_fn_factory middleware.
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 cloneable, state-aware asynchronous function.
FnShutdown
A pass-through service that invokes an asynchronous shutdown callback once.
InlineFuture
Type-erased future stored inline when it fits into WORDS machine words.
Map
Transforms successful service responses with a synchronous function.
MapErr
Transforms call and readiness errors with a synchronous function.
MapErrFactory
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.
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.
Ready
Service produced by ready().
ReadyFactory
Factory produced by ready_factory.
ServiceChain
A builder for composing services and combinators into one service.
ServiceChainFactory
A builder for composing service factories and combinators.
Then
Passes a service’s complete call result to a second service.
ThenFactory
Creates a Then service from two service factories.