[][src]Enum mio_httpc::SendState

pub enum SendState {
    Error(Error),
    SentBody(usize),
    WaitReqBody,
    Receiving,
    Done,
    Wait,
}

Used when call is in send request state.

Variants

Error(Error)

Unrecoverable error has occured and call is finished.

SentBody(usize)

How many bytes of body have just been sent.

WaitReqBody

Waiting for body to be provided for sending.

Receiving

Call has switched to receiving state.

Done

Request is done, body has been returned or there is no response body.

Wait

Nothing yet to return.

Trait Implementations

impl Debug for SendState
[src]

Auto Trait Implementations

impl Send for SendState

impl Sync for SendState

Blanket Implementations

impl<T> From for T
[src]

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

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

type Error = !

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

The type returned in the event of a conversion error.

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

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

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

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

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

The type returned in the event of a conversion error.

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