Trait DataInjectionTrait

Source
pub trait DataInjectionTrait {
    // Required method
    fn inject_data(
        &mut self,
        data_frame: RecorderDataFrame,
        sql_interface_data: &mut SqlInterfaceData,
    );
}
Expand description

Trait for the execution of data logging to SQL database This trait allows running the main control with a mock implementation for testing.

Required Methods§

Source

fn inject_data( &mut self, data_frame: RecorderDataFrame, sql_interface_data: &mut SqlInterfaceData, )

Transfers the data provided as parameter to SQL database

§Arguments
  • data_frame - Data to be transferred to SQL database
  • sql_interface_data - Interface to SQL database

Implementors§