pub trait MetaExtractor<M: Metadata>:
Sync
+ Send
+ 'static {
// Provided method
fn read_metadata(&self, _: &Request) -> M { ... }
}
Expand description
Extracts metadata from the HTTP request.
Provided Methods§
Sourcefn read_metadata(&self, _: &Request) -> M
fn read_metadata(&self, _: &Request) -> M
Read the metadata from the request