pub fn read_container_members(
r: &mut TlvReader<'_>,
) -> Result<Vec<(Tag, Value)>, ImError>Expand description
Reader positioned just after a container start: consume to its matching
end, returning the members as (tag, value) pairs (for List/Structure).
Calling this with the reader in any other position yields an
error::ImError or misattributed members — never a panic or UB.
§Errors
Returns error::ImError::Codec wrapping
matter_codec::Error::UnclosedContainer if the input ends before a
matching end-of-container, or propagates any other codec error.