WithIndexingDefaults

Trait WithIndexingDefaults 

Source
pub trait WithIndexingDefaults {
    // Provided method
    fn with_indexing_defaults(&mut self, _indexing_defaults: IndexingDefaults) { ... }
}
Expand description

Allows for passing defaults from the pipeline to the transformer Required for batch transformers as at least a marker, implementation is not required

Provided Methods§

Source

fn with_indexing_defaults(&mut self, _indexing_defaults: IndexingDefaults)

Implementations on Foreign Types§

Source§

impl<I, O> WithIndexingDefaults for Box<dyn Transformer<Input = I, Output = O>>

Source§

fn with_indexing_defaults(&mut self, indexing_defaults: IndexingDefaults)

Implementors§

Source§

impl WithIndexingDefaults for MockTransformer

Available on crate feature test-utils only.
Source§

impl<F> WithIndexingDefaults for F
where F: Fn(Node<String>) -> Result<Node<String>>,

Source§

impl<I, O> WithIndexingDefaults for dyn Transformer<Input = I, Output = O>