pub struct PipelineNet { /* private fields */ }
Implementations§
Source§impl PipelineNet
impl PipelineNet
pub fn new() -> Self
pub fn add_node( &mut self, name: &str, node: Arc<RwLock<dyn UnitProcess + Send + Sync>>, )
pub fn add_edge(&mut self, from: &str, to: &str)
pub fn add_edge_with_adapter<A: Adapter + 'static>( &mut self, from: &str, to: &str, adapter: A, )
pub fn set_group_input(&mut self, group_name: &str, input_node_name: &str)
pub async fn process_group( &self, group_name: &str, initial_input: ModuleParam, ) -> Result<HashMap<String, ModuleParam>, Error>
Auto Trait Implementations§
impl Freeze for PipelineNet
impl !RefUnwindSafe for PipelineNet
impl Send for PipelineNet
impl Sync for PipelineNet
impl Unpin for PipelineNet
impl !UnwindSafe for PipelineNet
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