How can I mock tokio::io::AsyncReadExt and AsyncWriteExt traits?

That sounds like mocking the executor territory. I'm afraid I'm the wrong person to ask about that.