[−][src]Trait async_injector::Provider
Associated Types
type Output
Provided methods
fn clear<'async_trait>(
) -> Pin<Box<dyn Future<Output = Option<Self::Output>> + Send + 'async_trait>> where
Self: Send + 'async_trait,
) -> Pin<Box<dyn Future<Output = Option<Self::Output>> + Send + 'async_trait>> where
Self: Send + 'async_trait,
What to do when you want to clear the value.
fn build<'async_trait>(
self
) -> Pin<Box<dyn Future<Output = Option<Self::Output>> + Send + 'async_trait>> where
Self: Send + 'async_trait,
self
) -> Pin<Box<dyn Future<Output = Option<Self::Output>> + Send + 'async_trait>> where
Self: Send + 'async_trait,
What to do when we construct a value.