Trait viz::prelude::HandlerBase[][src]

pub trait HandlerBase<Args>: 'static + Clone {
    type Output: Into<Response>;
    type Future: 'static + Future + Send;
    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