pub trait DataflowSubContainer: SubContainer + Dataflow {
// Provided method
fn finish_with_outputs(
self,
outputs: impl IntoIterator<Item = Wire>,
) -> Result<Self::ContainerHandle, BuildError>
where Self: Sized { ... }
}
Expand description
Trait implemented by builders of Dataflow container regions of a HUGR
Provided Methods§
sourcefn finish_with_outputs(
self,
outputs: impl IntoIterator<Item = Wire>,
) -> Result<Self::ContainerHandle, BuildError>where
Self: Sized,
fn finish_with_outputs(
self,
outputs: impl IntoIterator<Item = Wire>,
) -> Result<Self::ContainerHandle, BuildError>where
Self: Sized,
Set the outputs of the graph and consume the builder, while returning a handle to the parent.
§Errors
This function will return an error if there is an error when setting outputs.
Object Safety§
This trait is not object safe.