Crate hydro2_network

Source

Macros§

edge
network
node
test_wire_port0_into
test_wire_port1_into
test_wire_port2_into
test_wire_port3_into

Structs§

Network
The full network containing nodes, edges, and any relevant metadata.
NetworkBuilder
Builder for Network.
NetworkEdge
Represents an edge in the DAG, connecting one node’s output to another node’s input.
NetworkEdgeBuilder
Builder for NetworkEdge.
NetworkNode
Represents a single node in the network. Each node has an associated operator and references to its input and output buffers.
NetworkNodeBuilder
Builder for NetworkNode.
TestWire

Enums§

NetworkBuilderError
Error type for NetworkBuilder
NetworkEdgeBuilderError
Error type for NetworkEdgeBuilder
NetworkNodeBuilderError
Error type for NetworkNodeBuilder
TestWireIO

Functions§

wire_up_network
Wires up all outputs and inputs across the network, checking port‐range, type‐string compatibility, required‐connection fulfillment, and fan‐in/fan‐out rules. Returns an error if any violation occurs.