Skip to main content

ConflictCatalog

Trait ConflictCatalog 

Source
pub trait ConflictCatalog {
    // Required methods
    fn try_describe_table(
        &self,
        table: &str,
    ) -> Result<Option<Vec<ColumnDef>>, String>;
    fn enforced_keys(&self, table: &str) -> Result<Vec<EnforcedKey>, String>;
    fn try_declared_table_constraints(
        &self,
        table: &str,
    ) -> Result<TableConstraintSet, String>;
}

Required Methods§

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§