Function corn::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.