pub trait HandlerDyn{
// Required method
fn handle(&self, _request: Request<Body>) -> HandlerFutureDynBox ⓘ;
}Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".
Implementors§
impl<H> HandlerDyn for Hwhere
H: Handler + Send + Sync + 'static,
H::Future: Future<Output = ServerResult<Response<H::ResponseBody>>> + Send + 'static,
Available on crate feature
hss-handler only.