a
tokio = {version = "1", features = ["full"] }
tokio-02 = {version = "0.2", package = "tokio", features = ["full"] }Size: a a a
a
tokio = {version = "1", features = ["full"] }
tokio-02 = {version = "0.2", package = "tokio", features = ["full"] }MB
tokio = {version = "1", features = ["full"] }
tokio-02 = {version = "0.2", package = "tokio", features = ["full"] }MB
D
D
let mut rt = quote! { tokio::runtime::Builder::new().basic_scheduler() };a
D
D
a
D
BV
a
BV
D
D
F
tokio::select можно как-то фьючи не мувать, если ветка не сработала? Т.е. примерно let first = ...;
let second = ...;
tokio::select! {
first -> {} // сработала эта ветка
second -> {}
}
second.await;
K
tokio::select можно как-то фьючи не мувать, если ветка не сработала? Т.е. примерно let first = ...;
let second = ...;
tokio::select! {
first -> {} // сработала эта ветка
second -> {}
}
second.await;
F
note: the method `poll` exists but the following trait bounds were not satisfied:
`impl futures::Future: Unpin`
which is required by `&mut impl futures::Future: futures::Future`
= note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
в🧇
note: the method `poll` exists but the following trait bounds were not satisfied:
`impl futures::Future: Unpin`
which is required by `&mut impl futures::Future: futures::Future`
= note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
pin_mut!