Function from_str

Source
pub fn from_str<'a, T>(s: &'a str) -> Result<T, SpannedError>
where T: Deserialize<'a>,
Expand description

A convenience function for building a deserializer and deserializing a value of type T from a string.