Trait viz::prelude::Extract[][src]

pub trait Extract {
    type Error: Into<Response>;
    fn extract(
        cx: &mut Context
    ) -> Pin<Box<dyn Future<Output = Result<Self, Self::Error>> + Send, Global>>
Notable traits for Pin<P>
impl<P> Future for Pin<P> where
    P: DerefMut,
    <P as Deref>::Target: Future
type Output = <<P as Deref>::Target as Future>::Output;
; }
Expand description

A Extractor trait.

Associated Types

The type of failures extracted by this Extractor.

Required methods

Extract the value from Context.

Implementations on Foreign Types

Implementors