try_parse

Function try_parse 

Source
pub fn try_parse<T: FromStr>(key: &str) -> Result<Option<T>>
where T::Err: ToString,
Expand description

Likes try_get but directly parses the variable value in desired T type.