Skip to content

Rust-API: Subscription: Explore for try_receive how to link containers to subscription instance #15

@MarkSchmitt

Description

@MarkSchmitt

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    Projects

    Status

    No status

    Status

    No status

    Status

    No status

    Status

    Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions