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
Required Methods
fn new_handler(&self) -> Result<Self::Instance>
Create and return a new Handler
value.