pub trait HttpTryFuture: Sealed {
type Body: Body;
type Error;
// Required method
fn try_poll(
self: Pin<&mut Self>,
cx: &mut Context<'_>,
) -> Poll<Result<Response<Self::Body>, Self::Error>>;
}Expand description
An HTTP response future.
This is just an alias for Future introduced to reduce the number of type parameters.