pub trait ProviderExt: Provider {
// Provided method
fn with<L: Layer>(self, layer: L) -> Arc<dyn Provider>
where Self: Sized + 'static { ... }
}Expand description
Extension trait that adds a fluent .with(layer) combinator to any Provider.