pub trait ResponseExt<T>: Sized {
// Required method
fn body_reader(self) -> BodyReader<T>;
}
Expand description
Extension trait for the http::Response
.
Required Methods§
Sourcefn body_reader(self) -> BodyReader<T>
fn body_reader(self) -> BodyReader<T>
Consumes the response and returns a body reader wrapper.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.