SP
FnMut
because it mutates the variable state
hereSize: a a a
EG
FnMut
because it mutates the variable state
hereSP
EG
SP
EG
SP
SP
SP
MB
EG
SP
EG
MB
SP
let hello = warp::path("hello").map(move || {
// let state = state.clone();
tokio::task::spawn(async { thread_downloader("http", &mut state).await });
format!("Hello, {}!", "df")
});
warp::serve(hello).run(([127, 0, 0, 1], 3030)).await;
EG
EG
SP
EG
SP