pub struct ModuleCommunicationHub { /* private fields */ }
Expand description
Communication hub for inter-module messaging
Implementations§
Source§impl ModuleCommunicationHub
impl ModuleCommunicationHub
pub fn new() -> Self
pub fn optimize_routing(&mut self) -> CoreResult<()>
pub fn enable_compression(&mut self) -> CoreResult<()>
Sourcepub fn create_optimized_pipeline(
&self,
input: &AdvancedInput,
config: &CrossModuleOptimizationConfig,
) -> CoreResult<OptimizedPipeline>
pub fn create_optimized_pipeline( &self, input: &AdvancedInput, config: &CrossModuleOptimizationConfig, ) -> CoreResult<OptimizedPipeline>
Create an optimized processing pipeline
Sourcepub fn validate_workflow(
&self,
workflow: &DistributedWorkflow,
) -> CoreResult<()>
pub fn validate_workflow( &self, workflow: &DistributedWorkflow, ) -> CoreResult<()>
Validate a workflow before execution
Sourcepub fn create_workflow_execution_plan(
&self,
workflow: &DistributedWorkflow,
) -> CoreResult<WorkflowExecutionPlan>
pub fn create_workflow_execution_plan( &self, workflow: &DistributedWorkflow, ) -> CoreResult<WorkflowExecutionPlan>
Create a workflow execution plan
Sourcepub fn setup_workflow_communication(
&self,
plan: &WorkflowExecutionPlan,
) -> CoreResult<Vec<String>>
pub fn setup_workflow_communication( &self, plan: &WorkflowExecutionPlan, ) -> CoreResult<Vec<String>>
Setup workflow communication channels
Trait Implementations§
Source§impl Debug for ModuleCommunicationHub
impl Debug for ModuleCommunicationHub
Auto Trait Implementations§
impl Freeze for ModuleCommunicationHub
impl RefUnwindSafe for ModuleCommunicationHub
impl Send for ModuleCommunicationHub
impl Sync for ModuleCommunicationHub
impl Unpin for ModuleCommunicationHub
impl UnwindSafe for ModuleCommunicationHub
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
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