pub trait ToIndexId {
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: u64
) -> Result<IndexId, IndexError>;
}