diff --git a/src/runtime2/port.rs b/src/runtime2/port.rs index df7a7d64c3d949f8f3bbd24aa610e51b9faa170b..f58c6196cffb794ad70cf508abcd8c0b099de85c 100644 --- a/src/runtime2/port.rs +++ b/src/runtime2/port.rs @@ -1,3 +1,5 @@ +use super::global_store::ConnectorId; + #[derive(Clone, Copy, PartialEq, Eq)] pub(crate) struct PortIdLocal { pub index: u32, @@ -40,8 +42,8 @@ pub struct Port { pub kind: PortKind, // But this can be changed, but only by the connector that owns it pub ownership: PortOwnership, - pub owning_connector: u32, - pub peer_connector: u32, // might be temporarily inconsistent while peer port is sent around in non-sync phase. + pub owning_connector: ConnectorId, + pub peer_connector: ConnectorId, // might be temporarily inconsistent while peer port is sent around in non-sync phase. }