eclipse-score / eclipse-score/communication
Rust-API: Subscription: Explore for try_receive how to link containers to subscription instance
Open
rust-api
- Dominant language
- C++
- Stars
- 62
- Forks
- 97
- Avg merge
- 1d 1h
- Merged PRs (30d)
- 72
Description
Explore if and how it would be possible to link the samples in a container used to exchange Samples with the try_receive function to a subscription instance.
A user could pass a `SampleContainer` to the `try_receive` function in the `Subscription` trait that contains samples of the same type but from a different `Subscription` instance. It makes little sense to do this on purpose and should be dealt with by refusing the sample container or by dropping the Samples.
How can we differenciate `Samples` of the same Type that stem from different `Subscription` instances?
Contributor guide
Assessment
This issue has not been assessed yet.