[][src]Struct qiniu_multipart::client::lazy::PreparedFields

pub struct PreparedFields<'d> { /* fields omitted */ }

The result of Multipart::prepare().

Implements Read, contains the entire request body.

Individual files/streams are dropped as they are read to completion.

Note

The fields in the request may have been reordered to simplify the preparation step. No compliant server implementation will be relying on the specific ordering of fields anyways.

Implementations

impl<'d> PreparedFields<'d>[src]

pub fn to_body<'b>(&'b mut self) -> Body<'b> where
    'd: 'b, 
[src]

Feature: hyper

Convert self to hyper::client::Body.

impl<'d> PreparedFields<'d>[src]

pub fn content_len(&self) -> Option<u64>[src]

Get the content-length value for this set of fields, if applicable (all fields are sized, i.e. not generic streams).

pub fn boundary(&self) -> &str[src]

Get the boundary that was used to serialize the request.

Trait Implementations

impl<'d> Read for PreparedFields<'d>[src]

Auto Trait Implementations

impl<'d> !RefUnwindSafe for PreparedFields<'d>

impl<'d> !Send for PreparedFields<'d>

impl<'d> !Sync for PreparedFields<'d>

impl<'d> Unpin for PreparedFields<'d>

impl<'d> !UnwindSafe for PreparedFields<'d>

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<R> ReadBytesExt for R where
    R: Read + ?Sized

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Typeable for T where
    T: Any

impl<T> UnsafeAny for T where
    T: Any

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,