Trait hyper_static_server::HandlerDyn[][src]

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

Required methods

pub fn handle(&self, _request: Request<Body>) -> HandlerFutureDynBox[src]

Loading content...

Implementors

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

Loading content...