pub trait InheritanceCatalog {
// Required methods
fn resolve_parent(&self, name: &str) -> Result<String, SQLError>;
fn declared_constraints(
&self,
table: &str,
) -> Result<TableConstraintSet, String>;
fn check_definitions(&self, table: &str) -> Result<Vec<TableCheck>, String>;
}Expand description
Parent lookup and constraint declarations used while assembling a new row type.
Required Methods§
fn resolve_parent(&self, name: &str) -> Result<String, SQLError>
fn declared_constraints( &self, table: &str, ) -> Result<TableConstraintSet, String>
fn check_definitions(&self, table: &str) -> Result<Vec<TableCheck>, String>
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".