pub trait InvokeIncomingHandler: Invoke {
// Provided method
fn invoke_handle_http<E>(
&self,
cx: Self::Context,
request: Request<impl Body<Data = Bytes, Error = E> + Send + 'static>,
) -> impl Future<Output = Result<(Result<Response<HttpBody>, ErrorCode>, impl Stream<Item = HttpBodyError<E>> + 'static, Option<impl Future<Output = Result<()>> + 'static>)>>
where Self: Sized,
E: Send + 'static { ... }
}
Provided Methods§
fn invoke_handle_http<E>( &self, cx: Self::Context, request: Request<impl Body<Data = Bytes, Error = E> + Send + 'static>, ) -> impl Future<Output = Result<(Result<Response<HttpBody>, ErrorCode>, impl Stream<Item = HttpBodyError<E>> + 'static, Option<impl Future<Output = Result<()>> + 'static>)>>
Object Safety§
This trait is not object safe.