Trait viz_core::Handler[][src]

pub trait Handler: Send + Sync + 'static {
    fn call<'a>(&'a self, _: &'a mut Context) -> BoxFuture<'a, Result>;
fn clone_handler(&self) -> Box<dyn Handler>; }
Expand description

A handler within the given Context.

Required methods

Invokes the handler within the given Context.

Clones the handler to boxed.

Implementations on Foreign Types

Implementors