pub trait Host: Send {
// Required methods
fn get<'life0, 'async_trait>(
&'life0 mut self,
key: String,
) -> Pin<Box<dyn Future<Output = Result<Result<Option<String>, ConfigError>>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn get_all<'life0, 'async_trait>(
&'life0 mut self,
) -> Pin<Box<dyn Future<Output = Result<Result<Vec<(String, String)>, ConfigError>>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
}
Gets a single opaque config value set at the given key if it exists
Gets a list of all set config data
Gets a single opaque config value set at the given key if it exists
Gets a list of all set config data