impl_extractor

Macro impl_extractor 

Source
macro_rules! impl_extractor {
    ($ty:ty) => { ... };
}
Expand description

Implements the Extractor trait for a type.

This macro generates an implementation that extracts values from the environment using the Use<T> wrapper, commonly used for dependency injection.