pub trait Scope {
// Required method
fn lookup(&self, table: &str, column: &str) -> Option<DataType>;
}Expand description
Closure-based column scope. The analyzer passes a closure that
resolves (table, column) to a DataType, returning None if
the column doesn’t exist in the active scope. Callers wire this
to the schema registry (production) or a static map (tests).
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".