diff --git a/src/runtime2/communication.rs b/src/runtime2/communication.rs index f879550f7307f7dc5a0b96d908adab1299f2175e..27cd90aa4cbd3e9b6bd6740aa221d885b378eef5 100644 --- a/src/runtime2/communication.rs +++ b/src/runtime2/communication.rs @@ -36,12 +36,13 @@ pub enum PortState { Closed, } +#[derive(Debug)] pub struct Port { pub self_id: PortId, - pub peer_id: PortId, + pub peer_id: PortId, // eventually consistent pub kind: PortKind, pub state: PortState, - pub peer_comp_id: CompId, + pub peer_comp_id: CompId, // eventually consistent } pub struct Channel { @@ -122,7 +123,6 @@ pub enum SyncRoundDecision { #[derive(Debug)] pub struct SyncPartialSolution { pub channel_mapping: Vec, - pub matched_channels: usize, pub decision: SyncRoundDecision, } @@ -130,7 +130,6 @@ impl Default for SyncPartialSolution { fn default() -> Self { return Self{ channel_mapping: Vec::new(), - matched_channels: 0, decision: SyncRoundDecision::None, } }