pub type ResponseResult<C, R> = Result<<R as OutgoingRequest>::IncomingResponse, ResponseError<C, R>>;
Expand description
The result of sending the request R
with the http client C
.
Aliased Type§
enum ResponseResult<C, R> {
Ok(<R as OutgoingRequest>::IncomingResponse),
Err(Error<<C as HttpClient>::Error, <R as OutgoingRequest>::EndpointError>),
}
Variants§
Ok(<R as OutgoingRequest>::IncomingResponse)
Contains the success value
Err(Error<<C as HttpClient>::Error, <R as OutgoingRequest>::EndpointError>)
Contains the error value