[][src]Struct http_parser::parser::RequestLine

pub struct RequestLine<S> where
    S: RequestLineParserState
{ state: S, }

The RequestLine, the parser starting state.

It is defined in RFC 2616 as follows:

Request-Line = Method SP Request-URI SP HTTP-Version CRLF

Where SP is defined as ASCII character 32 and CRLF the combination of ASCII characters 13 and 10 (\r\n).

Fields

state: S

Trait Implementations

impl<S: Debug> Debug for RequestLine<S> where
    S: RequestLineParserState
[src]

impl<S> RequestParserState for RequestLine<S> where
    S: RequestLineParserState
[src]

Auto Trait Implementations

impl<S> RefUnwindSafe for RequestLine<S> where
    S: RefUnwindSafe

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

impl<S> Sync for RequestLine<S> where
    S: Sync

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

impl<S> UnwindSafe for RequestLine<S> where
    S: UnwindSafe

Blanket Implementations

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

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

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

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.