Node

Trait Node 

Source
pub trait Node {
    type Port;
    type Meta;
    type InstantiateEnv;

    // Required methods
    fn next_port(&self) -> Self::Port;
    fn update_meta(&mut self, meta: &Self::Meta);
    fn instantiate(
        &self,
        env: &mut Self::InstantiateEnv,
        meta: &mut Self::Meta,
        graph: DfirGraph,
        extra_stmts: Vec<Stmt>,
    );
}
Available on crate feature build only.

Required Associated Types§

Required Methods§

Source

fn next_port(&self) -> Self::Port

Source

fn update_meta(&mut self, meta: &Self::Meta)

Source

fn instantiate( &self, env: &mut Self::InstantiateEnv, meta: &mut Self::Meta, graph: DfirGraph, extra_stmts: Vec<Stmt>, )

Implementors§

Source§

impl Node for DeployCluster

Available on crate feature deploy only.
Source§

impl Node for DeployExternal

Available on crate feature deploy only.
Source§

impl Node for DeployNode

Available on crate feature deploy only.