pub trait Initializer {
    // Required method
    fn init<'life0, 'life1, 'async_trait>(
        &'life0 mut self,
        bytes: &'life1 [u8],
        status: Status
    ) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait,
             'life1: 'async_trait;
}

Required Methods§

source

fn init<'life0, 'life1, 'async_trait>( &'life0 mut self, bytes: &'life1 [u8], status: Status ) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,

Initializes the block.

Implementors§