pub fn from_str<'de, T>(s: &'de str) -> Result<T, Error>where
T: Deserialize<'de>,Expand description
Deserializes a string into a type.
This function will attempt to interpret s as a TOML document and
deserialize T from the document.
pub fn from_str<'de, T>(s: &'de str) -> Result<T, Error>where
T: Deserialize<'de>,Deserializes a string into a type.
This function will attempt to interpret s as a TOML document and
deserialize T from the document.