pub struct Incoming<S> {
pub version: HttpVersion,
pub subject: S,
pub headers: Headers,
}
Expand description
An Incoming Message head. Includes request/status line, and headers.
Fields§
§version: HttpVersion
HTTP version of the message.
subject: S
Subject (request line or status line) of Incoming message.
headers: Headers
Headers of the Incoming message.
Trait Implementations§
Auto Trait Implementations§
impl<S> Freeze for Incoming<S>where
S: Freeze,
impl<S> !RefUnwindSafe for Incoming<S>
impl<S> Send for Incoming<S>where
S: Send,
impl<S> !Sync for Incoming<S>
impl<S> Unpin for Incoming<S>where
S: Unpin,
impl<S> !UnwindSafe for Incoming<S>
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