Function from_str_peek

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

Deserializes any value and returns the rest of the string together.

§Errors

If XML parsing fails.

§Returns

(remain input, deserialized value)