Expand description
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
Auto Trait Implementations
impl !RefUnwindSafe for SendState
impl Send for SendState
impl Sync for SendState
impl Unpin for SendState
impl !UnwindSafe for SendState
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more