expect_start

Function expect_start 

Source
pub fn expect_start<'a, 'b, 'c, B: BufRead>(
    key: &'a str,
    reader: &'b mut Reader<B>,
    buf: &'c mut Vec<u8>,
) -> Result<BytesStart<'c>>
Expand description

Expect an opening tag and return it