[][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

Blanket Implementations

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

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

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> BorrowMut<T> for T where
    T: ?Sized
[src]

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

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

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