pub trait EventListenerSyncRoutine<P, R>: Send + Sync + 'staticwhere
    P: Send + Sync + 'static,
    R: 'static,{
    // Required method
    fn call(&self, param: &P) -> BuckyResult<R>;
}

Required Methods§

source

fn call(&self, param: &P) -> BuckyResult<R>

Implementors§

source§

impl<F, P, R> EventListenerSyncRoutine<P, R> for Fwhere P: Send + Sync + 'static, R: 'static, F: Send + Sync + 'static + Fn(&P) -> BuckyResult<R>,