pub trait MutationRowCatalog: Sync {
// Required methods
fn column_definitions(
&self,
table: &str,
) -> Result<Option<Vec<ColumnDef>>, String>;
fn column_names(&self, table: &str) -> Result<Vec<String>, String>;
fn view_schema(&self, name: &str) -> Result<RowSchema, SQLError>;
}Expand description
Relation metadata observed by mutation row construction.
Required Methods§
fn column_definitions( &self, table: &str, ) -> Result<Option<Vec<ColumnDef>>, String>
fn column_names(&self, table: &str) -> Result<Vec<String>, String>
fn view_schema(&self, name: &str) -> Result<RowSchema, SQLError>
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".