wrpc_interface_http

Trait InvokeOutgoingHandler

source
pub trait InvokeOutgoingHandler: Invoke {
    // Provided method
    fn invoke_handle_wasmtime(
        &self,
        cx: Self::Context,
        request: Request<HyperOutgoingBody>,
        options: OutgoingRequestConfig,
    ) -> impl Future<Output = Result<(Result<Response<HyperIncomingBody>, ErrorCode>, impl Stream<Item = HttpBodyError<ErrorCode>> + 'static, Option<impl Future<Output = Result<()>> + 'static>)>>
       where Self: Sized { ... }
}

Provided Methods§

source

fn invoke_handle_wasmtime( &self, cx: Self::Context, request: Request<HyperOutgoingBody>, options: OutgoingRequestConfig, ) -> impl Future<Output = Result<(Result<Response<HyperIncomingBody>, ErrorCode>, impl Stream<Item = HttpBodyError<ErrorCode>> + 'static, Option<impl Future<Output = Result<()>> + 'static>)>>
where Self: Sized,

Object Safety§

This trait is not object safe.

Implementors§