pub trait AnyIndex<T: TableType> {
// Required methods
fn record_exists(&self, record: &Record<T>) -> DbResult<bool>;
fn search(&self, value: Box<dyn Any>) -> DbResult<Vec<Record<T>>>;
fn idx_name(&self) -> String;
}Expand description
Type which Index can be casted to which doesn’t require the I type parameter.