pub struct ReusableHttpStream { /* private fields */ }Expand description
A reusable HTTP/1.x stream and bytes already read for the next request.
Implementations§
Source§impl ReusableHttpStream
impl ReusableHttpStream
Sourcepub fn into_parts(self) -> (Stream, Option<BytesMut>)
pub fn into_parts(self) -> (Stream, Option<BytesMut>)
Split the reusable connection into its underlying stream and optional bytes already read for the next pipelined request.
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for ReusableHttpStream
impl !UnwindSafe for ReusableHttpStream
impl Freeze for ReusableHttpStream
impl Send for ReusableHttpStream
impl Sync for ReusableHttpStream
impl Unpin for ReusableHttpStream
impl UnsafeUnpin for ReusableHttpStream
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