pub trait ToIndexId {
// Required methods
fn to_index_id(self, address: &Address) -> Result<IndexId, IndexError>;
fn to_index_id_tx(
self,
persy: &PersyImpl,
tx: &TransactionImpl
) -> Result<(IndexId, bool), IndexError>;
fn to_index_id_snapshot(
self,
snapshots: &Snapshots,
snapshot: &SnapshotRef
) -> Result<IndexId, IndexError>;
}