Status needs to impl Copy for Signal

This commit is contained in:
Gregor Reitzenstein 2020-09-15 16:37:50 +02:00
parent ca826de5de
commit 245bb7962e

View File

@ -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,