Enum mio_httpc::SendState[][src]

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

Used when call is in send request state.

Variants

Error(Error)

Unrecoverable error has occured and call is finished.

Tuple Fields of Error

0: Error
SentBody(usize)

How many bytes of body have just been sent.

Tuple Fields of SentBody

0: usize
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

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.