[][src]Trait rettle::tea::Tea

pub trait Tea: Send + Debug {
    fn as_any(&self) -> &dyn Any;
}

Trait given to the data structure(s) that will be processed by the ETL.

Required methods

fn as_any(&self) -> &dyn Any

Helper function that returns Box struct as Any.

This needs to be defined for the struct inheriting the Tea trait due to size not being known at compile time.

Example Method Implementation

This example is not tested
fn as_any(&self) -> dyn Any {
    self
}
Loading content...

Implementors

Loading content...