pub struct HttpConnection<R, W>{ /* private fields */ }Expand description
An HTTP connection that manages request processing and response streaming
HttpConnection handles the full lifecycle of an HTTP connection, including:
- Reading and decoding requests
- Processing request headers and bodies
- Handling expect-continue mechanism
- Streaming responses back to clients
§Type Parameters
R: The async readable stream typeW: The async writable stream type
Implementations§
Source§impl<R, W> HttpConnection<R, W>
impl<R, W> HttpConnection<R, W>
Trait Implementations§
Auto Trait Implementations§
impl<R, W> Freeze for HttpConnection<R, W>
impl<R, W> RefUnwindSafe for HttpConnection<R, W>where
W: RefUnwindSafe,
R: RefUnwindSafe,
impl<R, W> Send for HttpConnection<R, W>
impl<R, W> Sync for HttpConnection<R, W>
impl<R, W> Unpin for HttpConnection<R, W>
impl<R, W> UnwindSafe for HttpConnection<R, W>where
W: UnwindSafe,
R: UnwindSafe,
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