fasterthanlime , vor 19 Tagen (Bearbeitet vor 19 Tagen) Englisch Having a little axum puzzle today??? (axum 0.7.5, rustc 1.79) edit: https://doc.rust-lang.org/stable/std/future/trait.IntoFuture.html
Having a little axum puzzle today???
(axum 0.7.5, rustc 1.79)
edit: https://doc.rust-lang.org/stable/std/future/trait.IntoFuture.html
wacker , vor 19 Tagen @fasterthanlime .await uses the IntoFuture trait, maybe tokio::spawn only accepts Future? you could try calling server.into_future() (you might need to import the trait)
@fasterthanlime .await uses the IntoFuture trait, maybe tokio::spawn only accepts Future? you could try calling server.into_future() (you might need to import the trait)
.await
IntoFuture
tokio::spawn
Future
server.into_future()
fasterthanlime OP , vor 19 Tagen Englisch @wacker ohhhhhhh I forgot about that level of indirection x)
@wacker ohhhhhhh I forgot about that level of indirection x)