pub trait Host {
    // Required method
    fn exit<'life0, 'async_trait>(
        &'life0 mut self,
        status: Result<(), ()>
    ) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
}

Required Methods§

source

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

Exit the curerent instance and any linked instances.

Implementors§