Crate dfdi

source ·

Structs

Cached provider
Cached service
A context in which to store providers for services

Enums

Error while binding a service
Error while unbinding a service

Traits

A can construct a Service which references objects either inside itself or the provided Context.
A key to an object that can be created by a Provider and stored in a Context.

Functions

Type hint to the rust compiler to treat appropriately typed closures as providers.

Derive Macros

Create an implementation of Service on a 'static version of the original type.