macro_rules! inject_optional {
($trait:path) => { ... };
}Expand description
Inject trait implementation from the DI container.
Returns None if the trait is not registered in the container.
macro_rules! inject_optional {
($trait:path) => { ... };
}Inject trait implementation from the DI container.
Returns None if the trait is not registered in the container.