pub trait QueryMiddleware<Q>: Send + Syncwhere
Q: Query + 'static,{
// Required method
fn handle<'a>(
&'a self,
query: Q,
next: QueryNext<'a, Q>,
) -> BoxFuture<'a, SoapResult<Q::Output>>;
}Expand description
Intercepts one concrete query type around its next processing step.
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".