Struct elastic_responses::ReadBody [] [src]

pub struct ReadBody<B>(_);

A HTTP response body that implements Read.

Trait Implementations

impl<B: Read> ResponseBody for ReadBody<B>
[src]

The type of a buffered response body.

Buffer the response body to a json value and return a new buffered representation.

Parse the body as a success result.

Parse the body as an API error.