Skip to main content

Module spvd_decode

Module spvd_decode 

Source
Expand description

PVD (pvData) Type Introspection and Value Decoding

Implements parsing of PVAccess field descriptions and value decoding according to the pvData serialization specification.

Re-exports§

pub use crate::epics_decode::decode_string;

Structs§

FieldDesc
Field description (name + type)
PvdDecoder
PVD Decoder state
StructureDesc
Structure description with optional ID

Enums§

DecodedValue
Decoded value
FieldType
Field type description
TypeCode
PVD type codes from the specification

Functions§

extract_nt_scalar_value
Extract the “value” field from a decoded NTScalar structure
extract_subfield_desc
Extract a sub-field from a StructureDesc by dot-separated path. Returns the sub-field as an owned StructureDesc. For leaf (non-structure) fields, returns a single-field StructureDesc wrapping the matched field. Returns the full desc if path is empty.
format_compact_value
Compact display of decoded value for logging - shows only updated fields concisely
format_structure_desc
Format a structure description for display
format_structure_tree