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

pub trait Extract {
    type Error;
    fn extract(
        cx: &'a mut Context
    ) -> Pin<Box<dyn Future<Output = Result<Self, Self::Error>> + 'a + Send, Global>>; }
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