pub trait Host {
    // Required method
    fn handle<'life0, 'async_trait>(
        &'life0 mut self,
        request: OutgoingRequest,
        options: Option<RequestOptions>
    ) -> Pin<Box<dyn Future<Output = Result<FutureIncomingResponse>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
}

Required Methods§

source

fn handle<'life0, 'async_trait>( &'life0 mut self, request: OutgoingRequest, options: Option<RequestOptions> ) -> Pin<Box<dyn Future<Output = Result<FutureIncomingResponse>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait,

Implementors§

source§

impl<T: WasiHttpView> Host for T