Function assembly_xml::common::exact::expect_attribute [−][src]
pub fn expect_attribute<T: FromStr, B: BufRead>(
key: &str,
reader: &XmlReader<B>,
event: &XmlBytesStart<'_>
) -> Result<T> where
<T as FromStr>::Err: Error + Send + Sync + Sized + 'static,
Expand description
Expect an attribute on an opening tag and return a parsed value