Function assembly_xml::common::expect_elem
source · pub fn expect_elem<B: BufRead>(
xml: &mut Reader<B>,
buf: &mut Vec<u8>,
key: &'static str
) -> Result<()>
Expand description
Expect an opening tag <{key}>
pub fn expect_elem<B: BufRead>(
xml: &mut Reader<B>,
buf: &mut Vec<u8>,
key: &'static str
) -> Result<()>
Expect an opening tag <{key}>