struct Extra {
delayed_eof: Option<DelayEof>,
}
Fields§
§delayed_eof: Option<DelayEof>
Allow the client to pass a future to delay the Body
from returning
EOF. This allows the Client
to try to put the idle connection
back into the pool before the body is “finished”.
The reason for this is so that creating a new request after finishing streaming the body of a response could sometimes result in creating a brand new connection, since the pool didn’t know about the idle connection yet.
Auto Trait Implementations§
impl Freeze for Extra
impl !RefUnwindSafe for Extra
impl Send for Extra
impl Sync for Extra
impl Unpin for Extra
impl !UnwindSafe for Extra
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