Expand description
Types representing received DDS samples and their associated metadata.
A received sample is either a full data sample of type
T or a key-only sample carrying the instance key
T::Key.
This distinction arises in DDS when an instance is disposed or unregistered, the reader receives a notification carrying only the key rather than a full payload.
Samples are obtained via Reader::peek,
Reader::read, and
Reader::take, or their equivalents on
ReadCondition and
QueryCondition.
Structs§
- Info
- Metadata associated with a received sample.
- Sample
OrKey - A received sample, which is either a full payload of type
Tor a key-only payload carryingT::Key.
Enums§
- View
- A borrowed view into a
SampleOrKeyfor pattern matching.