Trait thruster::parser::middleware_traits::MiddlewareFunc [−][src]
pub trait MiddlewareFunc<T>: Fn(T, NextFn<T>) -> ReusableBoxFuture<Result<T, ThrusterError<T>>> + Send + Sync { }
Implementors
impl<A, T: Send> MiddlewareFunc<T> for A where
A: Fn(T, NextFn<T>) -> ReusableBoxFuture<Result<T, ThrusterError<T>>> + Send + Sync,