src/remotefs.rs:32:5: 32:18 note: ...so that the type `[closure@src/remotefs.rs:32:19: 36:6 ch:std::sync::mpsc::Receiver<remotefs::Task<F>>, results_ch:std::sync::mpsc::SyncSender<std::result::Result<R, std::string::String>>]` will meet its required lifetime bounds
src/remotefs.rs:32 thread::spawn(move || {
^~~~~~~~~~~~~
src/remotefs.rs:32:5: 32:18 error: the parameter type `R` may not live long enough [E0310]
src/remotefs.rs:32 thread::spawn(move || {
^~~~~~~~~~~~~
src/remotefs.rs:32:5: 32:18 help: run `rustc --explain E0310` to see a detailed explanation
src/remotefs.rs:32:5: 32:18 note: ...so that the type `[closure@src/remotefs.rs:32:19: 36:6 ch:std::sync::mpsc::Receiver<remotefs::Task<F>>, results_ch:std::sync::mpsc::SyncSender<std::result::Result<R, std::string::String>>]` will meet its required lifetime bounds