pub enum EntryKind {
Parameter(ParamId),
Container(ContainerId),
FixedValue {
name: Option<NameId>,
value: Span,
size_in_bits: u32,
},
Unsupported {
element: NameId,
},
}Expand description
What an entry contributes to a container.
Variants§
Parameter(ParamId)
<ParameterRefEntry>: one parameter.
Container(ContainerId)
<ContainerRefEntry>: the referenced container’s entries, inline.
FixedValue
<FixedValueEntry>: bits the definition fixes, carrying no parameter.
Only a command container may have one. It is how a telecommand carries its sync pattern and the header bits the ground does not get to choose — the bits are in the packet, they are not anybody’s value, and nothing reports them.
Fields
name: Option<NameId>The entry’s name, if it has one. Optional in the schema, and for diagnostics
only: nothing resolves a reference to it.
value: SpanThe bytes, as a span of crate::XtceDb::fixed_values.
binaryValue is hexBinary, so this is what it decodes to. Stored in a shared
arena because an entry is Copy and cannot own a Vec.
Unsupported
An entry kind outside this crate’s scope, e.g. <IndirectParameterRefEntry>.
Present so the container’s shape is preserved; decoding one reports
XtceError::Unsupported.