round-based-protocol
round-based-protocol copied to clipboard
higher-order future compile error when wrapping AsyncProtocol into another future
In this repo is minimal code to reproduce the issue: https://github.com/35359595/mpecdsa-future-error
There's a know issue with the compiler described here: https://github.com/rust-lang/rust/issues/102211#issuecomment-1380167541
In general, some internal future[s] of AsyncProtocol::run()
have to be .boxed()
. Please take a look.