From 245bb7962ed7fdab75c94334c6be85fa79f633ea Mon Sep 17 00:00:00 2001 From: Gregor Reitzenstein Date: Tue, 15 Sep 2020 16:37:50 +0200 Subject: [PATCH] Status needs to impl `Copy` for Signal --- src/machine.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/machine.rs b/src/machine.rs index 7494d7e..792a874 100644 --- a/src/machine.rs +++ b/src/machine.rs @@ -23,7 +23,7 @@ use smol::channel::{Receiver, Sender}; use futures_signals::signal::*; /// Status of a Machine -#[derive(PartialEq, Eq, Debug, Serialize, Deserialize)] +#[derive(Clone, Copy, PartialEq, Eq, Debug, Serialize, Deserialize)] pub enum Status { /// Not currently used by anybody Free,