pub trait ResponseExt: Sized {
    fn error_for_status(self) -> Result<Self, TraceError>;
}
Expand description

Methods to make working with responses from the HttpClient trait easier.

Required methods

Turn a response into an error if the HTTP status does not indicate success (200 - 299).

Implementations on Foreign Types

Implementors