pub trait ProviderClient {
type Input;
type Error;
// Required methods
fn from_env() -> Result<Self, Self::Error>
where Self: Sized;
fn from_val(input: Self::Input) -> Result<Self, Self::Error>
where Self: Sized;
}Expand description
Abstracts over the ability to instantiate a client, either via environment variables or some
Self::Input
Required Associated Types§
Sourcetype Input
type Input
Input accepted by ProviderClient::from_val.