pub unsafe trait StructDecodeMetadata<'de, R>: StructMetadata {
const DECODERS: &'static [ErasedDecoderEntry];
}
Expand description
The struct metadata for decoding a struct.
§Safety
The implementor must ensure that the DECODERS
are correct and complete for
Self
, such that if every field is decoded, then the struct value is valid.
Required Associated Constants§
sourceconst DECODERS: &'static [ErasedDecoderEntry]
const DECODERS: &'static [ErasedDecoderEntry]
The list of decoder vtables.
Object Safety§
This trait is not object safe.