Enum mio_httpc::SendState[][src]

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

Used when call is in send request state.

Variants

Unrecoverable error has occured and call is finished.

How many bytes of body have just been sent.

Waiting for body to be provided for sending.

Call has switched to receiving state.

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

Nothing yet to return.

Trait Implementations

impl Debug for SendState
[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl Send for SendState

impl Sync for SendState