diff --git a/src/runtime2/port.rs b/src/runtime2/port.rs index 42b9ee27cfa77e70e25dc084aa8a382aeeefd9f3..b94443dc568a7606001e3f6477046d188e499d05 100644 --- a/src/runtime2/port.rs +++ b/src/runtime2/port.rs @@ -37,6 +37,7 @@ pub enum PortState { /// a connector on its port, which may not be consistent with the rest of the /// global system (e.g. its peer was moved to a new connector, or the peer might /// have died in the meantime, so it is no longer usable). +#[derive(Clone)] pub struct Port { pub self_id: PortIdLocal, pub peer_id: PortIdLocal,