pub fn as_str_checked(yaml: &Yaml) -> Result<&str>
Returns the Yaml as a &str or an error if it isn’t.
&str