pub trait TickHandler: Send {
// Required method
fn on_tick<'life0, 'async_trait>(
&'life0 mut self,
tick: Tick,
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
}Expand description
Abstract handler for tick events.