Trait hyper_simple_server::HandlerDyn[][src]

pub trait HandlerDyn where
    Self: Send + Sync + 'static, 
{ fn handle(&self, _request: Request<Body>) -> HandlerFutureDynBox; }

Required methods

Loading content...

Implementors

impl<H> HandlerDyn for H where
    H: Handler + Send + Sync + 'static,
    H::Future: Future<Output = ServerResult<Response<H::ResponseBody>>> + Send + 'static, 
[src]

Loading content...