Skip to main content

RouteHandlerDyn

Trait RouteHandlerDyn 

Source
pub trait RouteHandlerDyn
where Self: Send + Sync + 'static,
{ // Required method fn handle( &self, _request: Request<Body>, _route: RouteMatched, ) -> HandlerFutureDynBox ; }

Required Methods§

Source

fn handle( &self, _request: Request<Body>, _route: RouteMatched, ) -> HandlerFutureDynBox

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§