Struct hydro_lang::builder::deploy::DeployFlow
source · pub struct DeployFlow<'a, D: LocalDeploy<'a>> { /* private fields */ }
Implementations§
source§impl<'a, D: LocalDeploy<'a>> DeployFlow<'a, D>
impl<'a, D: LocalDeploy<'a>> DeployFlow<'a, D>
pub fn ir(&self) -> &Vec<HydroLeaf>
pub fn with_process<P>( self, process: &Process<'_, P>, spec: impl IntoProcessSpec<'a, D>, ) -> Self
pub fn with_external<P>( self, process: &ExternalProcess<'_, P>, spec: impl ExternalSpec<'a, D>, ) -> Self
pub fn with_cluster<C>( self, cluster: &Cluster<'_, C>, spec: impl ClusterSpec<'a, D>, ) -> Self
pub fn compile_no_network(self) -> CompiledFlow<'a, D::GraphId>
source§impl<'a, D: Deploy<'a>> DeployFlow<'a, D>
impl<'a, D: Deploy<'a>> DeployFlow<'a, D>
pub fn compile(self, env: &D::CompileEnv) -> CompiledFlow<'a, D::GraphId>
source§impl<'a, D: Deploy<'a, CompileEnv = ()>> DeployFlow<'a, D>
impl<'a, D: Deploy<'a, CompileEnv = ()>> DeployFlow<'a, D>
pub fn deploy(self, env: &mut D::InstantiateEnv) -> DeployResult<'a, D>
Trait Implementations§
source§impl<'a, D: LocalDeploy<'a>> Drop for DeployFlow<'a, D>
impl<'a, D: LocalDeploy<'a>> Drop for DeployFlow<'a, D>
Auto Trait Implementations§
impl<'a, D> Freeze for DeployFlow<'a, D>
impl<'a, D> !RefUnwindSafe for DeployFlow<'a, D>
impl<'a, D> !Send for DeployFlow<'a, D>
impl<'a, D> !Sync for DeployFlow<'a, D>
impl<'a, D> Unpin for DeployFlow<'a, D>where
D: Unpin,
<D as LocalDeploy<'a>>::Process: Unpin,
<D as LocalDeploy<'a>>::ExternalProcess: Unpin,
<D as LocalDeploy<'a>>::Cluster: Unpin,
impl<'a, D> !UnwindSafe for DeployFlow<'a, D>
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more