Module springtime_di::instance_provider
source · Expand description
The core functionality of creating and managing Component instances.
Enums
- Errors related to creating and managing components.
Traits
- Generic provider for component instances.
- Helper trait for ComponentInstanceProvider providing strongly-typed access.
Type Definitions
- (Usually generated) cast function which consumes given type-erased instance pointer and casts it to the desired
ComponentInstancePtr<T>. The result is then returned as type-erasedBoxwhich is then converted back toComponentInstancePtr<T>. Such shenanigans are needed to be able to convert between twodyn Traits.