Struct rocket::http::hyper::h1::Incoming [−][src]
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> !RefUnwindSafe for Incoming<S>
impl<S> Send for Incoming<S> where
S: Send,
S: Send,
impl<S> !Sync for Incoming<S>
impl<S> Unpin for Incoming<S> where
S: Unpin,
S: Unpin,
impl<S> !UnwindSafe for Incoming<S>
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<T> IntoCollection<T> for T
impl<T> IntoCollection<T> for T
pub fn into_collection<A>(self) -> SmallVec<A> where
A: Array<Item = T>,
pub fn into_collection<A>(self) -> SmallVec<A> where
A: Array<Item = T>,
Converts self
into a collection.
pub fn mapped<U, F, A>(self, f: F) -> SmallVec<A> where
F: FnMut(T) -> U,
A: Array<Item = U>,
F: FnMut(T) -> U,
A: Array<Item = U>,
impl<T> Same<T> for T
impl<T> Same<T> for T
type Output = T
type Output = T
Should always be Self
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,