Function from_str

Source
pub fn from_str<T>(s: &str) -> Result<T>
Expand description

Attempts to deserialize the config from a string slice.

ยงErrors

Will return a DeserializationError if the config is invalid.