Struct rustful::context::body::MultipartRequest [] [src]

pub struct MultipartRequest<'r, 'a: 'r, 'b: 'a> { /* fields omitted */ }

A specialized request representation for the multipart interface.

Trait Implementations

impl<'r, 'a, 'b> HttpRequest for MultipartRequest<'r, 'a, 'b>
[src]

The body of this request.

Return the request body for reading.

Get the boundary string of this request if it is a POST request with the Content-Type header set to multipart/form-data. Read more

impl<'r, 'a, 'b> Read for MultipartRequest<'r, 'a, 'b>
[src]

Read the request body.

🔬 This is a nightly-only experimental API. (read_initializer)

Determines if this Reader can work with buffers of uninitialized memory. Read more

Read all bytes until EOF in this source, placing them into buf. Read more

Read all bytes until EOF in this source, appending them to buf. Read more

Read the exact number of bytes required to fill buf. Read more

Important traits for &'a mut R

Creates a "by reference" adaptor for this instance of Read. Read more

Important traits for Bytes<R>

Transforms this Read instance to an [Iterator] over its bytes. Read more

Important traits for Chars<R>

🔬 This is a nightly-only experimental API. (io)

the semantics of a partial read/write of where errors happen is currently unclear and may change

Transforms this Read instance to an [Iterator] over [char]s. Read more

Important traits for Chain<T, U>

Creates an adaptor which will chain this stream with another. Read more

Important traits for Take<T>

Creates an adaptor which will read at most limit bytes from it. Read more

Auto Trait Implementations

impl<'r, 'a, 'b> Send for MultipartRequest<'r, 'a, 'b>

impl<'r, 'a, 'b> !Sync for MultipartRequest<'r, 'a, 'b>