Skip to main content

stream_edge

Function stream_edge 

Source
pub fn stream_edge(
    port: impl Into<String>,
    media: StreamMedia,
    direction: StreamDirection,
    rate_contract: RateContract,
) -> StreamEdge
Expand 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.