pub trait Provider: Send + Sync + 'static {
    type Ref: Resolvable;

    fn provide<'life0, 'life1, 'async_trait>(
        &'life0 self,
        resolver: &'life1 ResolverRef
    ) -> Pin<Box<dyn Future<Output = ProvideResult<Self::Ref>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; }

Required Associated Types

Required Methods

Implementors