pipeline

Trait Transformer

source
pub trait Transformer:
    Display
    + Sized
    + Send
    + Sync
    + 'static {
    type Output;
    type VecOutput;

    // Required methods
    fn new(transforms: Transforms) -> Result<Self>;
    fn schemas(&self) -> &Vec<ColumnSchema>;
    fn transforms(&self) -> &Transforms;
    fn transforms_mut(&mut self) -> &mut Transforms;
    fn transform_mut(&self, val: &mut Vec<Value>) -> Result<Self::VecOutput>;
}

Required Associated Types§

Required Methods§

source

fn new(transforms: Transforms) -> Result<Self>

source

fn schemas(&self) -> &Vec<ColumnSchema>

source

fn transforms(&self) -> &Transforms

source

fn transforms_mut(&mut self) -> &mut Transforms

source

fn transform_mut(&self, val: &mut Vec<Value>) -> Result<Self::VecOutput>

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§