Trait dfdi_core::Service

source ·
pub trait Service: 'static {
    type Output<'cx>;
}
Expand description

A key to an object that can be created by a Provider and stored in a Context.

In most cases, an implementation of this trait is trivial boilerplate, and so it is recommended to use the provided derive macro.

Required Associated Types

The result of a service resolution

Implementations on Foreign Types

Implementors