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
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".