Await on structure?

Why await could be applied to structure?

https://docs.rs/tokio/1.6.0/src/tokio/io/util/copy_bidirectional.rs.html#108-120

Why couldn't it?

I got it. CopyBidirectional implements Future, so the instance would be called .await

This topic was automatically closed 90 days after the last reply. We invite you to open a new topic if you have further questions or comments.