MergerBuilder

Trait MergerBuilder 

Source
pub trait MergerBuilder<State>: Send {
    type Merger: Component;

    // Required method
    fn build_merger(
        self,
        ctx: &BuilderContext<State>,
    ) -> impl Future<Output = Result<Self::Merger>> + Send;
}
Expand description

Builder for merger components (combines multiple strategies or paths)

Required Associated Types§

Source

type Merger: Component

The merger component type

Required Methods§

Source

fn build_merger( self, ctx: &BuilderContext<State>, ) -> impl Future<Output = Result<Self::Merger>> + Send

Build the merger component

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§