pub trait IndexSchema:
BTreeSchema
+ Clone
+ Send
+ Sync
+ 'static {
type Id: Hash + Eq + Clone + Debug + Display + 'static;
// Required method
fn columns(&self) -> &[Self::Id];
// Provided method
fn supports(&self, range: &Range<Self::Id, Self::Value>) -> bool { ... }
}
Expand description
The schema of a table index
Required Associated Types§
Required Methods§
Provided Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.