提交 5f7eb396 authored 作者: Serhij S's avatar Serhij S

context clone

上级 5a8f2e47
...@@ -275,6 +275,7 @@ where ...@@ -275,6 +275,7 @@ where
/// The context type is used to give workers access to the controller's hub, state, and shared /// The context type is used to give workers access to the controller's hub, state, and shared
/// variables. /// variables.
#[derive(Clone)]
pub struct Context<D, V> pub struct Context<D, V>
where where
D: DataDeliveryPolicy + Clone + Send + Sync + 'static, D: DataDeliveryPolicy + Clone + Send + Sync + 'static,
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论