Struct anterofit::net::body::Readable [] [src]

pub struct Readable<R> {
    pub readable: R,
    pub content_type: Option<Mime>,
    // some fields omitted
}

The result of serializing the request body, ready to be sent over the network.

Fields

The inner Read impl which will be copied into the request body.

The MIME type of the request body, if applicable.

Methods

impl<R: Read> Readable<R>
[src]

Create a new Readable wrapped in ::Result::Ok for convenience.

Create a new Readable with the given Read and MIME type (can be an Option or a bare Mime value).

Trait Implementations

impl<R: Debug> Debug for Readable<R>
[src]

Formats the value using the given formatter.