Trait ConfigApi
Source pub trait ConfigApi {
type HotShotConfig: Serialize + Send + Sync + 'static;
type RuntimeConfig: Serialize + Send + Sync + 'static;
// Required methods
fn hotshot_config<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<Self::HotShotConfig>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn env<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<Vec<String>>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn runtime_config<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<Self::RuntimeConfig>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
}