[−][src]Trait coi::Provide
A trait to manage the construction of an injectable trait or struct.
Associated Types
Loading content...Required methods
fn provide<'life0, 'life1, 'async_trait>(
&'life0 self,
container: &'life1 Container
) -> Pin<Box<dyn Future<Output = Result<Self::Output>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
&'life0 self,
container: &'life1 Container
) -> Pin<Box<dyn Future<Output = Result<Self::Output>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
Only intended to be used internally