pub fn expect_tag( d: &mut Decoder<'_>, expected: impl Into<Tag>, ) -> Result<(), Error>
Decode a tagged value, expecting the given tag. For a lenient version, see allow_tag.