Created
November 22, 2019 15:28
-
-
Save jeromegn/9f5fb90ac209ccc6fe91e5202b92fcdf to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
error[E0308]: mismatched types | |
--> src/handlers/tcp.rs:159:5 | |
| | |
159 | tokio::spawn(super::proxy_tcp( | |
| ^^^^^^^^^^^^ one type is more general than the other | |
| | |
= note: expected type `futures_util::future::map::Map<tokio_io::io::shutdown::Shutdown<'_, _>, _>` | |
found type `futures_util::future::map::Map<tokio_io::io::shutdown::Shutdown<'_, _>, _>` |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment