Trait safe_vk::handler::BoxedIntoHandler
source · 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);
}