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§
Sourcefn inject_data(
&mut self,
data_frame: RecorderDataFrame,
sql_interface_data: &mut SqlInterfaceData,
)
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 databasesql_interface_data- Interface to SQL database