pub trait BoxedIntoHandler<S>: Send {
    // Required methods
    fn clone_box(&self) -> Box<dyn BoxedIntoHandler<S>>;
    fn into_route(self: Box<Self>, state: S) -> Route;
    fn call_with_state(self: Box<Self>, update: Update, state: S);
}

Required Methods§

source

fn clone_box(&self) -> Box<dyn BoxedIntoHandler<S>>

source

fn into_route(self: Box<Self>, state: S) -> Route

source

fn call_with_state(self: Box<Self>, update: Update, state: S)

Implementors§

source§

impl<H, S> BoxedIntoHandler<S> for MakeErasedHandler<H, S>
where H: Clone + Send + 'static, S: 'static,