Trait safe_vk::handler::Execute

source ·
pub trait Execute: Send {
    // Required methods
    fn execute(self: Box<Self>, update: Update, request: Arc<RequestBuilder>);
    fn clone_box(&self) -> Box<dyn Execute>;
}

Required Methods§

source

fn execute(self: Box<Self>, update: Update, request: Arc<RequestBuilder>)

source

fn clone_box(&self) -> Box<dyn Execute>

Implementors§

source§

impl<H, T, S> Execute for HandlerService<H, T, S>
where H: Handler<T, S> + Clone + Send + Sync + 'static, T: 'static, S: Sync + Clone + Send + 'static,