Function toml_span::de_helpers::parse

source ยท
pub fn parse<T, E>(value: &mut Value<'_>) -> Result<T, Error>
where T: FromStr<Err = E>, E: Display,
Expand description

Attempts to acquire a ValueInner::String and parse it, returning an error if the value is not a string, or the parse implementation fails