Trait cyfs_util::EventListenerAsyncRoutine
source · pub trait EventListenerAsyncRoutine<P, R>: Send + Sync + 'staticwhere
P: Send + Sync + 'static,
R: 'static,{
// Required method
fn call<'life0, 'life1, 'async_trait>(
&'life0 self,
param: &'life1 P
) -> Pin<Box<dyn Future<Output = BuckyResult<R>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait;
}