pub trait InputEmulation: Send {
// Required methods
fn consume<'life0, 'async_trait>(
&'life0 mut self,
event: Event,
handle: EmulationHandle,
) -> Pin<Box<dyn Future<Output = Result<(), EmulationError>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn create<'life0, 'async_trait>(
&'life0 mut self,
handle: EmulationHandle,
) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn destroy<'life0, 'async_trait>(
&'life0 mut self,
handle: EmulationHandle,
) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn terminate<'life0, 'async_trait>(
&'life0 mut self,
) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
}