pub enum HttpSendYield {
WantsRead,
WantsWrite(Vec<u8>),
WantsRedirect {
url: Url,
response: HttpResponse,
keep_alive: bool,
same_origin: bool,
},
}Expand description
Per-step yield emitted by Http10Send / Http11Send; adds
Self::WantsRedirect to the standard HttpYield for 3xx responses.
Variants§
Trait Implementations§
Source§impl Debug for HttpSendYield
impl Debug for HttpSendYield
Auto Trait Implementations§
impl Freeze for HttpSendYield
impl RefUnwindSafe for HttpSendYield
impl Send for HttpSendYield
impl Sync for HttpSendYield
impl Unpin for HttpSendYield
impl UnsafeUnpin for HttpSendYield
impl UnwindSafe for HttpSendYield
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more