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.
pub fn from_str<T>(s: &str) -> Result<T>where
T: DeserializeOwned,Attempts to deserialize the config from a string slice.
Will return a DeserializationError if the config is invalid.