diff --git a/src/runtime/mod.rs b/src/runtime/mod.rs index dfce1a1281671528fc7cb18e0fe343434ea6dffc..b3aa732d20099ab97b6e7651c4e4ebbaecd66eb7 100644 --- a/src/runtime/mod.rs +++ b/src/runtime/mod.rs @@ -40,13 +40,6 @@ pub(crate) struct SyncProtoContext<'a> { branch_inner: &'a mut ProtoComponentBranchInner, // sub-structure of component branch predicate: &'a Predicate, // KEY in pred->branch map } -#[derive(Debug)] -pub(crate) struct UdpEndpointExt { - pub(crate) sock: UdpSocket, // already bound and connected - pub(crate) received_from_this_round: Option, - outgoing_payloads: HashMap, - getter_for_incoming: PortId, -} #[derive(Default, Debug, Clone)] struct ProtoComponentBranchInner { untaken_choice: Option, @@ -176,6 +169,13 @@ struct NetEndpointExt { getter_for_incoming: PortId, } #[derive(Debug)] +struct UdpEndpointExt { + sock: UdpSocket, // already bound and connected + received_from_this_round: Option, + outgoing_payloads: HashMap, + getter_for_incoming: PortId, +} +#[derive(Debug)] struct Neighborhood { parent: Option, children: VecSet,