Trait backstage::actor::EventLoop [−][src]
pub trait EventLoop<H>: Sized { #[must_use] fn event_loop<'life0, 'life1, 'async_trait>(
&'life0 mut self,
status: Result<(), Need>,
supervisor: &'life1 mut Option<H>
) -> Pin<Box<dyn Future<Output = Result<(), Need>> + Send + 'async_trait>>
where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait; }
Required methods
#[must_use]fn event_loop<'life0, 'life1, 'async_trait>(
&'life0 mut self,
status: Result<(), Need>,
supervisor: &'life1 mut Option<H>
) -> Pin<Box<dyn Future<Output = Result<(), Need>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
[src]
#[must_use]
fn event_loop<'life0, 'life1, 'async_trait>(&'life0 mut self,
status: Result<(), Need>,
supervisor: &'life1 mut Option<H>
) -> Pin<Box<dyn Future<Output = Result<(), Need>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,