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