Trait viz_core::HandlerBase[][src]

pub trait HandlerBase<Args>: Clone + 'static {
    type Output: Into<Response>;
    type Future: Future<Output = Self::Output> + Send + 'static;
    fn call(&self, args: Args) -> Self::Future;
}
Expand description

A basic handler within the given Args.

Associated Types

The type of value produced on completion.

Retures a future for handler.

Required methods

Invokes the handler within the given args.

Implementors