pub trait ReturningCatalog {
// Required methods
fn try_describe_table_row_type(
&self,
table: &str,
) -> Result<Option<Vec<ColumnDef>>, String>;
fn try_table_columns(&self, table: &str) -> Result<Vec<String>, String>;
fn view_schema(&self, table: &str) -> Result<Option<RowSchema>, SQLError>;
}Required Methods§
fn try_describe_table_row_type( &self, table: &str, ) -> Result<Option<Vec<ColumnDef>>, String>
fn try_table_columns(&self, table: &str) -> Result<Vec<String>, String>
fn view_schema(&self, table: &str) -> Result<Option<RowSchema>, SQLError>
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".