Trait viz::prelude::Handler [−][src]
pub trait Handler<Args>: 'static + Clone {
type Output: Into<Response>;
type Future: 'static + Future + Send;
fn call(&self, args: Args) -> Self::Future;
}
Expand description
The handle trait within the given Args then returns Response.