Trait AsyncDebounceEventHandler

Source
pub trait AsyncDebounceEventHandler {
    // Required method
    fn handle_event<'life0, 'async_trait>(
        &'life0 mut self,
        event: Result<Vec<DebouncedEvent>, Vec<NotifyError>>,
    ) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
}

Required Methods§

Source

fn handle_event<'life0, 'async_trait>( &'life0 mut self, event: Result<Vec<DebouncedEvent>, Vec<NotifyError>>, ) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Implementations on Foreign Types§

Source§

impl AsyncDebounceEventHandler for Sender<Result<Vec<DebouncedEvent>, Vec<Error>>>

Source§

fn handle_event<'life0, 'async_trait>( &'life0 mut self, event: Result<Vec<DebouncedEvent>, Vec<NotifyError>>, ) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Implementors§