pub trait TpmTaggedField<'a, Tag> {
type View;
// Required method
fn cast_tagged_prefix_field(
tag: Tag,
buf: &'a [u8],
) -> TpmResult<(Self::View, &'a [u8])>;
}Expand description
Reads a union field selected by a previously-read tag.
Required Associated Types§
Required Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".