Defines types for a middleware pipeline
When using middleware, one or more
Middleware are combined to form a
Middleware are invoked strictly in the order they’re added to the
Allows a pipeline to be defined by adding
NewMiddleware values, and building a
A heterogeneous list of
Handle<P, _> values, where
P is a pipeline type. The pipelines are
borrowed and invoked in order to serve a request.
Wraps the current set of
Pipeline instances into a thread-safe reference counting pointer for
use with the
Begins defining a new pipeline.
Create an empty set of
Constructs a pipeline from a single middleware.
Creates a single pipeline for use in applications with straightforward use cases for middleware.
A set of
Pipeline instances that is currently being defined, and can have more
Represents the set of all
Pipeline instances that are available for use when building a
PipelineSet is “frozen”.
A pipeline chain which contains only the single pipeline in a
Handle for borrowing the only pipeline from a
PipelineSet which contains only a single pipeline.