[][src]Struct rocket::http::hyper::h1::Incoming

pub struct Incoming<S> {
    pub version: HttpVersion,
    pub subject: S,
    pub headers: Headers,
}

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

impl<S> Debug for Incoming<S> where
    S: Debug
[src]

Auto Trait Implementations

impl<S> Send for Incoming<S> where
    S: Send

impl<S> Unpin for Incoming<S> where
    S: Unpin

impl<S> !Sync for Incoming<S>

impl<S> !UnwindSafe for Incoming<S>

impl<S> !RefUnwindSafe for Incoming<S>

Blanket Implementations

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Typeable for T where
    T: Any

fn get_type(&self) -> TypeId

Get the TypeId of this object.

impl<T> IntoCollection<T> for T[src]

impl<T, I> AsResult<T, I> for T where
    I: Input
[src]