pub trait MetaExtractor<M: Metadata>: Send + Sync {
// Required method
fn extract(&self, context: &RequestContext) -> M;
}
Expand description
Metadata extractor (per session)
Required Methods§
Sourcefn extract(&self, context: &RequestContext) -> M
fn extract(&self, context: &RequestContext) -> M
Extracts metadata from request context