pub enum SendState {
Error(Error),
SentBody(usize),
WaitReqBody,
Receiving,
Done,
Wait,
}
Expand description
Used when call is in send request state.
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.
Formats the value using the given formatter.
Read more
Immutably borrows from an owned value.
Read more
Mutably borrows from an owned value.
Read more
Returns the argument unchanged.
Calls U::from(self)
.
That is, this conversion is whatever the implementation of
From<T> for U
chooses to do.
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.