pub fn from_str<T: DeserializeOwned>(s: &str) -> Result<T, Error>