Trait viz_core::Extract [−][src]
pub trait Extract: Sized {
type Error: Into<Response>;
fn extract(cx: &mut Context) -> BoxFuture<'_, Result<Self, Self::Error>>;
}
Expand description
A Extractor trait.
pub trait Extract: Sized {
type Error: Into<Response>;
fn extract(cx: &mut Context) -> BoxFuture<'_, Result<Self, Self::Error>>;
}
A Extractor trait.