[][src]Struct warp::filters::log::Info

pub struct Info<'a> { /* fields omitted */ }

Information about the request/response that can be used to prepare log lines.

Methods

impl<'a> Info<'a>
[src]

pub fn method(&self) -> &Method
[src]

View the http::Method of the request.

pub fn path(&self) -> &str
[src]

View the URI path of the request.

pub fn version(&self) -> Version
[src]

View the http::Version of the request.

pub fn status(&self) -> StatusCode
[src]

View the http::StatusCode of the response.

Auto Trait Implementations

impl<'a> !Send for Info<'a>

impl<'a> !Sync for Info<'a>

Blanket Implementations

impl<T> From for T
[src]

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

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

type Error = !

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

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

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

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

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

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

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

impl<T> Same for T

type Output = T

Should always be Self

impl<T> Erased for T