[−][src]Struct turbofish::request::Request
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
fn from_request(req: &Request) -> Self::Future
[src]
impl<T: FromRequest, S> Service<Request> for Extractor<T, S> where
S: Service<(T, Request), Response = Response<Body>, Error = Infallible> + Clone,
[src]
S: Service<(T, Request), Response = Response<Body>, Error = Infallible> + Clone,
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.
fn poll_ready(&mut self, _: &mut Context<'_>) -> Poll<Result<(), Self::Error>>
[src]
fn call(&mut self, req: Request) -> Self::Future
[src]
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]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T> Instrument for T
[src]
fn instrument(self, span: Span) -> Instrumented<Self>
[src]
fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,