Function di::lazy::missing_with_key

source ·
pub fn missing_with_key<TKey, TSvc: Any + ?Sized>(
) -> Lazy<Option<KeyedRef<TKey, TSvc>>>
Available on crate feature lazy only.
Expand description

Creates and return a holder for a lazy-initialized, keyed, optional service that is missing.