Trait thruster::parser::middleware_traits::IntoMiddleware
source · [−]pub trait IntoMiddleware<T, A> {
fn middleware(
self
) -> Box<dyn Fn(T) -> ReusableBoxFuture<Result<T, ThrusterError<T>>> + Send + Sync>;
}