fn new(circuit: Circuit<P>, node_id: NodeId) -> Self {
        Self {
            local_node_id: node_id,
            origin_node_id: GlobalNodeId::child_of(&circuit, node_id),
            circuit,
            val: Rc::new(UnsafeCell::new(StreamValue::empty())),
        }
    }
/// Create a new stream within the given circuit, connected to the specified
/// node id.
Create a new stream within the given circuit, connected to the specified
node id.
Create a new stream within the given circuit connected to the specified node id .
fn new(circuit: Circuit<P>, node_id: NodeId) -> Self {
        Self {
            local_node_id: node_id,
            origin_node_id: GlobalNodeId::child_of(&circuit, node_id),
            circuit,
            val: Rc::new(UnsafeCell::new(StreamValue::empty())),
        }
    }
fn new ( circuit : Circuit < P > , node_id : NodeId ) -> Self { Self { local_node_id : node_id , origin_node_id : GlobalNodeId :: child_of ( & circuit , node_id ) , circuit , val : Rc :: new ( UnsafeCell :: new ( StreamValue :: empty ( ) ) ) , } }
Create a new stream within the given circuit, connected to the specified
node id.
Create a new stream within the given circuit connected to the specified node id .
circuit
Circuit<P>
node_id
NodeId