pub trait SQLIndexInfo:
Any
+ Send
+ Sync {
// Required methods
fn table(&self) -> &'static TableRef;
fn name(&self) -> &'static str;
fn columns(&self) -> &'static [&'static str];
// Provided method
fn is_unique(&self) -> bool { ... }
}Required Methods§
Provided Methods§
Trait Implementations§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".
Implementors§
impl<T: DrizzleIndex> SQLIndexInfo for T
Blanket: any DrizzleIndex automatically satisfies SQLIndexInfo.