Trait hydro_lang::deploy::LocalDeploy

source ·
pub trait LocalDeploy<'a> {
    type Process: Node<Meta = Self::Meta>;
    type Cluster: Node<Meta = Self::Meta>;
    type ExternalProcess: Node<Meta = Self::Meta>;
    type Meta: Default;
    type GraphId;

    // Provided methods
    fn has_trivial_node() -> bool { ... }
    fn trivial_process(_id: usize) -> Self::Process { ... }
    fn trivial_cluster(_id: usize) -> Self::Cluster { ... }
}

Required Associated Types§

source

type Process: Node<Meta = Self::Meta>

source

type Cluster: Node<Meta = Self::Meta>

source

type ExternalProcess: Node<Meta = Self::Meta>

source

type Meta: Default

source

type GraphId

Provided Methods§

Object Safety§

This trait is not object safe.

Implementors§

source§

impl LocalDeploy<'_> for MultiGraph

source§

impl LocalDeploy<'_> for SingleProcessGraph

source§

impl<'a, T: Deploy<'a, Process = N, Cluster = C, ExternalProcess = E, Meta = M, GraphId = R>, N: Node<Meta = M>, C: Node<Meta = M>, E: Node<Meta = M>, M: Default, R> LocalDeploy<'a> for T