pub trait RuntimeSchemaPort {
// Required methods
fn create_table(
&self,
input: CreateTableInput,
) -> Result<RuntimeQueryResult, RedDBError>;
fn drop_table(
&self,
input: DropTableInput,
) -> Result<RuntimeQueryResult, RedDBError>;
fn create_timeseries(
&self,
input: CreateTimeSeriesInput,
) -> Result<RuntimeQueryResult, RedDBError>;
fn drop_timeseries(
&self,
input: DropTimeSeriesInput,
) -> Result<RuntimeQueryResult, RedDBError>;
}Required Methods§
fn create_table( &self, input: CreateTableInput, ) -> Result<RuntimeQueryResult, RedDBError>
fn drop_table( &self, input: DropTableInput, ) -> Result<RuntimeQueryResult, RedDBError>
fn create_timeseries( &self, input: CreateTimeSeriesInput, ) -> Result<RuntimeQueryResult, RedDBError>
fn drop_timeseries( &self, input: DropTimeSeriesInput, ) -> Result<RuntimeQueryResult, RedDBError>
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".