[][src]Struct turbofish::request::Request

pub struct Request(pub Arc<Request<Body>>);

Request is a hyper::Request wrapped in a reference-counting pointer. The request needs to be wrapped in a pointer in order to be passed around and cloned throughout the turbofish service chain

Trait Implementations

impl Clone for Request[src]

impl FromRequest for Request[src]

type Error = Error

The associated error which can be returned.

type Future = Ready<Result<Request, Error>>

Future that resolves to a Self

impl<T: FromRequest, S> Service<Request> for Extractor<T, S> where
    S: Service<(T, Request), Response = Response<Body>, Error = Infallible> + Clone
[src]

type Response = Response<Body>

Responses given by the service.

type Error = (Error, Request)

Errors produced by the service.

type Future = ExtractorResponse<T, S>

The future response value.

Auto Trait Implementations

impl !RefUnwindSafe for Request

impl Send for Request

impl Sync for Request

impl Unpin for Request

impl !UnwindSafe for Request

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> Instrument for T[src]

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

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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.