提交 1a67259d authored 作者: Serhij S's avatar Serhij S

worker result send + sync

上级 78a56aaa
[package]
name = "roboplc"
version = "0.1.30"
version = "0.1.31"
edition = "2021"
authors = ["Serhij S. <div@altertech.com>"]
license = "Apache-2.0"
......
......@@ -28,7 +28,7 @@ pub mod prelude {
}
/// Result type, which must be returned by workers' `run` method
pub type WResult = std::result::Result<(), Box<dyn std::error::Error>>;
pub type WResult = std::result::Result<(), Box<dyn std::error::Error + Send + Sync>>;
pub const SLEEP_STEP: Duration = Duration::from_millis(100);
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论