diff options
| author | Ulf Lilleengen <[email protected]> | 2022-04-11 08:57:15 +0200 |
|---|---|---|
| committer | Ulf Lilleengen <[email protected]> | 2022-04-11 08:57:15 +0200 |
| commit | bc1dff34c0e5d44706c6387892d8f2c2f3539bd9 (patch) | |
| tree | 633c85ba7aee24a269b879fee935569f321b3bcb /examples | |
| parent | e844893095ac186058495df5b049e6846781497a (diff) | |
Add types for channel dynamic dispatch
* Add internal DynamicChannel trait implemented by Channel that allows
polling for internal state in a lock safe manner and does not require
knowing the channel size.
* Existing usage of Sender and Receiver is preserved and does not use
dynamic dispatch.
* Add DynamicSender and DynamicReceiver types that references the
channel using the DynamicChannel trait and does not require the const
generic channel size parameter.
Diffstat (limited to 'examples')
0 files changed, 0 insertions, 0 deletions
