pub trait ChunkerTransformer:
    Send
    + Sync
    + Debug
    + DynClone {
    // Required method
    fn transform_node<'life0, 'async_trait>(
        &'life0 self,
        node: Node,
    ) -> Pin<Box<dyn Future<Output = IndexingStream> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
    // Provided methods
    fn concurrency(&self) -> Option<usize> { ... }
    fn name(&self) -> &'static str { ... }
}Expand description
Turns one node into many nodes
Required Methods§
fn transform_node<'life0, 'async_trait>(
    &'life0 self,
    node: Node,
) -> Pin<Box<dyn Future<Output = IndexingStream> + Send + 'async_trait>>where
    Self: 'async_trait,
    'life0: 'async_trait,
Provided Methods§
sourcefn concurrency(&self) -> Option<usize>
 
fn concurrency(&self) -> Option<usize>
Overrides the default concurrency of the pipeline
fn name(&self) -> &'static str
Trait Implementations§
source§impl ChunkerTransformer for &dyn ChunkerTransformer
 
impl ChunkerTransformer for &dyn ChunkerTransformer
fn transform_node<'life0, 'async_trait>(
    &'life0 self,
    node: Node,
) -> Pin<Box<dyn Future<Output = IndexingStream> + Send + 'async_trait>>where
    Self: 'async_trait,
    'life0: 'async_trait,
source§fn concurrency(&self) -> Option<usize>
 
fn concurrency(&self) -> Option<usize>
Overrides the default concurrency of the pipeline
fn name(&self) -> &'static str
source§impl ChunkerTransformer for Box<dyn ChunkerTransformer>
 
impl ChunkerTransformer for Box<dyn ChunkerTransformer>
fn transform_node<'life0, 'async_trait>(
    &'life0 self,
    node: Node,
) -> Pin<Box<dyn Future<Output = IndexingStream> + Send + 'async_trait>>where
    Self: 'async_trait,
    'life0: 'async_trait,
source§fn concurrency(&self) -> Option<usize>
 
fn concurrency(&self) -> Option<usize>
Overrides the default concurrency of the pipeline