Trait thruster::parser::middleware_traits::MiddlewareFunc[][src]

pub trait MiddlewareFunc<T>: Fn(T, NextFn<T>) -> Pin<Box<dyn Future<Output = Result<T, ThrusterError<T>>> + Sync + Send + 'static>> { }

Implementors

impl<A, T: Sync + Send> MiddlewareFunc<T> for A where
    A: Fn(T, NextFn<T>) -> Pin<Box<dyn Future<Output = Result<T, ThrusterError<T>>> + Sync + Send + 'static>>, 
[src]