Skip to main content

read_container_value

Function read_container_value 

Source
pub fn read_container_value(
    r: &mut TlvReader<'_>,
    kind: ContainerKind,
) -> Result<Value, ImError>
Expand description

Reader positioned just after a container start (of kind): read the whole sub-tree into a Value. Calling this with the reader in any other position yields an error::ImError or misattributed members — never a panic or UB.

§Errors

Propagates any error from read_container_members.