aboutsummaryrefslogtreecommitdiff
path: root/examples/boot/src/bin
diff options
context:
space:
mode:
authorbors[bot] <26634292+bors[bot]@users.noreply.github.com>2022-04-12 09:55:33 +0000
committerGitHub <[email protected]>2022-04-12 09:55:33 +0000
commitac3986e40ef297b90de19812aebccfe2e7f9ceec (patch)
treef7ffc0c8a2541edf8eb42d935a13a73097621d2f /examples/boot/src/bin
parente844893095ac186058495df5b049e6846781497a (diff)
parentcdf30e68eb8e91ef13ad6195bea42bf75c9d3018 (diff)
Merge #712
712: Add types for channel dynamic dispatch r=lulf a=lulf * 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. Having the ability not know the channel size is very convenient when you don't want to change all of your channel using code when tuning the size. With this change, existing usage can be kept, and those willing to pay the price for dynamic dispatch may do so. Co-authored-by: Ulf Lilleengen <[email protected]>
Diffstat (limited to 'examples/boot/src/bin')
0 files changed, 0 insertions, 0 deletions