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§
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>
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.