pub async fn from_http_response<B>(
response: Response<B>,
) -> Result<Response, Box<dyn Error + Sync + Send>>Available on crate feature
tower only.Expand description
An http::Response as an rws response. A body that’s gRPC, or of unknown
or large size, streams through stream_pipe (polled on rws-tower),
its trailers in Response::trailers; small ones are collected.