#SendSync
共 1 篇文章
解决 Rust 报错 the trait Send is not implemented for 跨线程安全修复
排查多线程或 tokio::spawn 抛出 the trait Send is not implemented for Rc<RefCell<T>>,将 Rc/RefCell 升级替换为 Arc/Mutex。
共 1 篇文章
排查多线程或 tokio::spawn 抛出 the trait Send is not implemented for Rc<RefCell<T>>,将 Rc/RefCell 升级替换为 Arc/Mutex。