rust-lang / async-book

Asynchronous Programming in Rust
https://rust-lang.github.io/async-book/index.html
MIT License
1.79k stars 241 forks source link

Why do we manually implement Unpin for MockTcpStream if the Unpin trait is automically implemented for it? #197

Open hieunguyent12 opened 1 year ago

hieunguyent12 commented 1 year ago

Link to the code: https://github.com/rust-lang/async-book/blob/master/examples/09_05_final_tcp_server/src/main.rs#L92C10-L92C10