Trait persy::ToIndexId

source ·
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>;
}

Required Methods§

source

fn to_index_id(self, address: &Address) -> Result<IndexId, IndexError>

source

fn to_index_id_tx( self, persy: &PersyImpl, tx: &TransactionImpl ) -> Result<(IndexId, bool), IndexError>

source

fn to_index_id_snapshot( self, snapshots: &Snapshots, snapshot: &SnapshotRef ) -> Result<IndexId, IndexError>

Implementors§