Function corn::from_str

source ·
pub fn from_str<T>(s: &str) -> Result<T>where
    T: DeserializeOwned,
Expand description

Attempts to deserialize the config from a string slice.

Errors

Will return a DeserializationError if the config is invalid.