Skip to main content

TreeDiffer

Trait TreeDiffer 

Source
pub trait TreeDiffer: StatementDiffer + Sealed {
    // Provided methods
    fn diff_tree(
        &self,
        a: &[Statement],
        b: &[Statement],
    ) -> Result<Option<Vec<Statement>>, DiffError> { ... }
    fn find_and_compare_create_table(
        &self,
        sa: &Statement,
        a: &CreateTable,
        b: &[Statement],
    ) -> Result<Option<Vec<Statement>>, DiffError> { ... }
    fn find_and_compare_create_index(
        &self,
        sa: &Statement,
        a: &CreateIndex,
        b: &[Statement],
    ) -> Result<Option<Vec<Statement>>, DiffError> { ... }
    fn find_and_compare_create_type(
        &self,
        sa: &Statement,
        a: &CreateType,
        b: &[Statement],
    ) -> Result<Option<Vec<Statement>>, DiffError> { ... }
    fn find_and_compare_create_extension(
        &self,
        sa: &Statement,
        a: &CreateExtension,
        b: &[Statement],
    ) -> Result<Option<Vec<Statement>>, DiffError> { ... }
    fn find_and_compare_create_domain(
        &self,
        sa: &Statement,
        a: &CreateDomain,
        b: &[Statement],
    ) -> Result<Option<Vec<Statement>>, DiffError> { ... }
}

Provided Methods§

Dyn Compatibility§

This trait is not dyn compatible.

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

Implementors§