Enum deno_http::HttpRequestReader
source · pub enum HttpRequestReader {
Headers(Request<Body>),
Body(HeaderMap<HeaderValue>, Peekable<Body>),
Closed,
}
Expand description
The read half of an HTTP stream.
Variants§
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for HttpRequestReader
impl Send for HttpRequestReader
impl Sync for HttpRequestReader
impl Unpin for HttpRequestReader
impl !UnwindSafe for HttpRequestReader
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