Expand description
Sample<T> — data + SampleInfo together.
Spec reference: OMG DDS-DCPS 1.4 §2.2.2.5.3 read/take. The spec
works with two parallel sequences data_values and sample_infos;
in our Rust API we bundle them into a single Sample<T> { data, info }.
§valid_data
When info.valid_data == false, the sample carries pure lifecycle
information (dispose/unregister marker). In that case data holds a
default-constructed T with only the key fields filled in
(spec §2.2.2.5.1.13).
Structs§
- Sample
- A single sample record from
read/take.