Trait backstage::actor::Init[][src]

pub trait Init<H>: Sized {
    #[must_use]
    fn init<'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 init<'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]

Loading content...

Implementors

Loading content...