s2e-systems / dust-dds

Rust implementation of the Data Distribution Service (DDS)
Apache License 2.0
82 stars 10 forks source link

Add lifetime support for foo type in listeners #303

Closed stkimmer closed 3 months ago

stkimmer commented 3 months ago

It was not possible to use a user data type (Foo) that contains borrowed fields for Foo-listeners. To achieve this a lifetime is added to the listener traits (including the async versions). That is an API change, hence the version is increased