pub fn stream_edge(
port: impl Into<String>,
media: StreamMedia,
direction: StreamDirection,
rate_contract: RateContract,
) -> StreamEdgeExpand description
Builds a StreamEdge for port from media, direction, and rate contract.
Synthesizes a stream/edge metadata record with a bounded single-slot
buffer and the clock domain drawn from rate_contract.