Type Definition thruster::Middleware [−][src]
type Middleware<T> = fn(_: T, chain: &MiddlewareChain<T>) -> MiddlewareReturnValue<T>;
The Middleware
type simply defines the signature of a thruster middleware function.
It takes a context of the type of the thruster app, followed by a MiddlewareChain.