[−][src]Enum mio_httpc::RecvState
Used when call is in receive response state.
Variants
Error(Error)
Unrecoverable error has occured and call is finished.
Response(Response, ResponseBody)
HTTP Response and response body size. If there is a body it will follow, otherwise call is done.
ReceivedBody(usize)
How many bytes were received.
Request is done with body.
We are not done sending request yet. State may switch back to sending if we are following redirects or need to send request again due to digest auth.
Request is done, body has been returned or there is no response body.
Nothing yet to return.
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for RecvState
[src]
impl Send for RecvState
[src]
impl Sync for RecvState
[src]
impl Unpin for RecvState
[src]
impl !UnwindSafe for RecvState
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,