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§
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>, )
Implementors§
Source§impl Node for DeployCluster
Available on crate feature deploy only.
impl Node for DeployCluster
Available on crate feature
deploy only.type Port = String
type Meta = HashMap<usize, Vec<TaglessMemberId>>
type InstantiateEnv = Deployment
Source§impl Node for DeployExternal
Available on crate feature deploy only.
impl Node for DeployExternal
Available on crate feature
deploy only.type Port = String
type Meta = HashMap<usize, Vec<TaglessMemberId>>
type InstantiateEnv = Deployment
Source§impl Node for DeployNode
Available on crate feature deploy only.
impl Node for DeployNode
Available on crate feature
deploy only.