1 2 3 4 5 6 7 8 9 10
pub fn exec(sql: String) -> Result<(), TsdbError> { // tracing::info!("Exec sql: {}", &sql); Err(TsdbError::NotImplError) } #[derive(thiserror::Error, Debug)] pub enum TsdbError { #[error("Not implement yet!")] NotImplError, }