Skip to main content

from_str_seed

Function from_str_seed 

Source
pub fn from_str_seed<'de, S>(
    input: &'de str,
    seed: S,
) -> Result<S::Value, Error>
where S: DeserializeSeed<'de>,
Expand description

Deserializes a YAML document with seed, parsing it as from_str does.

§Errors

If the document isn’t valid YAML, or seed fails to deserialize it, an error is returned.