Init

Trait Init 

Source
pub trait Init {
    // Required method
    fn init<'life0, 'async_trait>(
        &'life0 mut self,
        req: InitRequest,
    ) -> Pin<Box<dyn Future<Output = Result<InitResult>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
}
Expand description

Init a vault process

Required Methods§

Source

fn init<'life0, 'async_trait>( &'life0 mut self, req: InitRequest, ) -> Pin<Box<dyn Future<Output = Result<InitResult>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Init a vault process

Implementors§

Source§

impl<T> Init for T
where T: HttpRequest<BytesBody> + Send + Sync + 'static,