Created
October 18, 2019 13:43
-
-
Save bowrocker/dd8f4a1b34d579f1ee4e3a69ce631f92 to your computer and use it in GitHub Desktop.
This file contains hidden or 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[E0599]: no method named `unwrap` found for type `usize` in the current scope | |
--> boray/src/main.rs:118:49 | |
| | |
118 | .core_threads(config.tokio.core_threads.unwrap()) | |
| ^^^^^^ | |
error[E0599]: no method named `map` found for type `u64` in the current scope | |
--> boray/src/main.rs:119:52 | |
| | |
119 | .keep_alive(config.tokio.thread_keep_alive.map(Duration::from_secs)) | |
| ^^^ | |
| | |
= note: the method `map` exists but the following trait bounds were not satisfied: | |
`&mut u64 : futures::future::Future` | |
`&mut u64 : futures::stream::Stream` | |
`&mut u64 : slog::Drain` | |
`&mut u64 : std::iter::Iterator` | |
`&u64 : slog::Drain` | |
error: aborting due to 2 previous errors | |
For more information about this error, try `rustc --explain E0599`. | |
error: Could not compile `boray`. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment