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§
Sourcefn 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,
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