Skip to main content

Crate froodi

Crate froodi 

Source

Modules§

async_impl
axum
dptree
macros_utils
telers
utils

Macros§

async_registry
The async_registry! macro is used to create an asynchronous dependency registry with flexible configuration and composition options.
boxed
Creates a Box<dyn Trait> from a value, optionally including supertraits.
registry
The registry! macro is used to create a dependency registry with various configuration options.

Structs§

Config
Config for an instantiator
Container
Context
Dependency
Inject
InjectTransient
InstantiatorData
Registry
TypeInfo

Enums§

DefaultScope
InstantiateErrorKind
ResolveErrorKind
ScopeErrorKind
ScopeWithErrorKind

Traits§

DependencyResolver
Finalizer
Instantiator
Scope
Scopes

Functions§

instance
Wrapper to create an instantiator that just returns passed value. It can be used when the value was created outside the container.

Type Aliases§

InstantiatorResult