Trait wd_run::AsyncEvent[][src]

pub trait AsyncEvent: Sync {
    #[must_use]
    fn handle<'life0, 'async_trait>(
        &'life0 self,
        ctx: Arc<Context>
    ) -> Pin<Box<dyn Future<Output = ()> + 'async_trait + Send, Global>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
; }

Required methods

#[must_use]
fn handle<'life0, 'async_trait>(
    &'life0 self,
    ctx: Arc<Context>
) -> Pin<Box<dyn Future<Output = ()> + 'async_trait + Send, Global>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Implementors