Trait aws_types::service_config::LoadServiceConfig
source · pub trait LoadServiceConfig: Debug + Send + Sync {
// Required method
fn load_config(&self, key: ServiceConfigKey<'_>) -> Option<String>;
}
Expand description
Implementers of this trait can provide service config defined in a user’s environment.
Required Methods§
sourcefn load_config(&self, key: ServiceConfigKey<'_>) -> Option<String>
fn load_config(&self, key: ServiceConfigKey<'_>) -> Option<String>
Given a ServiceConfigKey
, return the value associated with it.