struct FutCtx<B>where
B: HttpBody,{
is_connect: bool,
eos: bool,
fut: ResponseFuture,
body_tx: SendStream<SendBuf<B::Data>>,
body: B,
cb: Callback<Request<B>, Response<Body>>,
}
Fields§
§is_connect: bool
§eos: bool
§fut: ResponseFuture
§body_tx: SendStream<SendBuf<B::Data>>
§body: B
§cb: Callback<Request<B>, Response<Body>>
Trait Implementations§
Auto Trait Implementations§
impl<B> Freeze for FutCtx<B>where
B: Freeze,
impl<B> !RefUnwindSafe for FutCtx<B>
impl<B> Send for FutCtx<B>
impl<B> Sync for FutCtx<B>
impl<B> !UnwindSafe for FutCtx<B>
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