[][src]Trait wd_event::event::AsyncEvent

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

Required methods

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

Loading content...

Implementors

Loading content...