Hi, I've got two snippets of code:
Rust Playground -- this one works, the idea is like "take an executor only if there are implementations for two requests using this executor". The problem is if there are nested functions each one of them needs a where clause with same bounds and this got worse when there are lots of these requests needed.
With that in mind I've made a trait which covers all needed bounds for an Executor to be suitable: Rust Playground -- suddenly, no luck with this, it still requires bounds that E may execute Request1 and 2, but it is already stated by ExecutorCanBothRequests!
Am I wrong about something here? How can I express my intentions to rustc?