Trait gotham::handler::NewHandler [] [src]

pub trait NewHandler: Send + Sync {
    type Instance: Handler;
    fn new_handler(&self) -> Result<Self::Instance>;
}

Creates new Handler values.

Associated Types

The type of Handler created by the implementor.

Required Methods

Create and return a new Handler value.

Implementors