Skip to main content

provider_from_name

Function provider_from_name 

Source
pub fn provider_from_name(provider: &str) -> Result<Provider>
Expand description

Parse a configured provider name into the canonical provider enum.

ยงErrors

Returns an error when the provider name is not supported.