Skip to main content

WireSchema

Trait WireSchema 

Source
pub trait WireSchema<Src: WireSource> {
    type Table: NamedColumns + WireColumnTypes<Src>;

    // Required method
    fn get(&self, table_name: &str) -> Option<&Self::Table>;
}
Expand description

Table-name lookup for the DiffSetBuilder::digest entry point.

Required Associated Types§

Source

type Table: NamedColumns + WireColumnTypes<Src>

Concrete schema type for one table.

Required Methods§

Source

fn get(&self, table_name: &str) -> Option<&Self::Table>

Resolve a table name to its schema entry.

Dyn Compatibility§

This trait is dyn compatible.

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

Implementors§