Trait libnoentiendo::platform::AsyncPlatform
source · pub trait AsyncPlatform: Platform {
// Required methods
fn setup<'life0, 'async_trait>(
&'life0 mut self
) -> Pin<Box<dyn Future<Output = ()> + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn tick<'life0, 'life1, 'async_trait>(
&'life0 mut self,
system: &'life1 mut Box<dyn System>
) -> Pin<Box<dyn Future<Output = ()> + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait;
}
Expand description
A platform which can be run asynchronously.