pub trait ServeOutgoingHandlerHttp<Ctx> {
// Required method
fn handle(
&self,
cx: Ctx,
request: Request<HttpBody>,
options: Option<RequestOptions>,
) -> impl Future<Output = Result<Result<Response<impl Body<Data = Bytes, Error = Infallible> + Send + 'static>, ErrorCode>>> + Send;
}
Required Methods§
fn handle( &self, cx: Ctx, request: Request<HttpBody>, options: Option<RequestOptions>, ) -> impl Future<Output = Result<Result<Response<impl Body<Data = Bytes, Error = Infallible> + Send + 'static>, ErrorCode>>> + Send
Object Safety§
This trait is not object safe.