cuprate_blockchain::tables

Trait TablesIter

Source
pub trait TablesIter: Tables {
Show 22 methods // Required methods fn block_header_blobs_iter( &self, ) -> &(impl DatabaseRo<BlockHeaderBlobs> + DatabaseIter<BlockHeaderBlobs>); fn block_txs_hashes_iter( &self, ) -> &(impl DatabaseRo<BlockTxsHashes> + DatabaseIter<BlockTxsHashes>); fn block_heights_iter( &self, ) -> &(impl DatabaseRo<BlockHeights> + DatabaseIter<BlockHeights>); fn block_infos_iter( &self, ) -> &(impl DatabaseRo<BlockInfos> + DatabaseIter<BlockInfos>); fn key_images_iter( &self, ) -> &(impl DatabaseRo<KeyImages> + DatabaseIter<KeyImages>); fn num_outputs_iter( &self, ) -> &(impl DatabaseRo<NumOutputs> + DatabaseIter<NumOutputs>); fn outputs_iter( &self, ) -> &(impl DatabaseRo<Outputs> + DatabaseIter<Outputs>); fn pruned_tx_blobs_iter( &self, ) -> &(impl DatabaseRo<PrunedTxBlobs> + DatabaseIter<PrunedTxBlobs>); fn prunable_tx_blobs_iter( &self, ) -> &(impl DatabaseRo<PrunableTxBlobs> + DatabaseIter<PrunableTxBlobs>); fn prunable_hashes_iter( &self, ) -> &(impl DatabaseRo<PrunableHashes> + DatabaseIter<PrunableHashes>); fn rct_outputs_iter( &self, ) -> &(impl DatabaseRo<RctOutputs> + DatabaseIter<RctOutputs>); fn tx_blobs_iter( &self, ) -> &(impl DatabaseRo<TxBlobs> + DatabaseIter<TxBlobs>); fn tx_ids_iter(&self) -> &(impl DatabaseRo<TxIds> + DatabaseIter<TxIds>); fn tx_heights_iter( &self, ) -> &(impl DatabaseRo<TxHeights> + DatabaseIter<TxHeights>); fn tx_outputs_iter( &self, ) -> &(impl DatabaseRo<TxOutputs> + DatabaseIter<TxOutputs>); fn tx_unlock_time_iter( &self, ) -> &(impl DatabaseRo<TxUnlockTime> + DatabaseIter<TxUnlockTime>); fn alt_chain_infos_iter( &self, ) -> &(impl DatabaseRo<AltChainInfos> + DatabaseIter<AltChainInfos>); fn alt_block_heights_iter( &self, ) -> &(impl DatabaseRo<AltBlockHeights> + DatabaseIter<AltBlockHeights>); fn alt_blocks_info_iter( &self, ) -> &(impl DatabaseRo<AltBlocksInfo> + DatabaseIter<AltBlocksInfo>); fn alt_block_blobs_iter( &self, ) -> &(impl DatabaseRo<AltBlockBlobs> + DatabaseIter<AltBlockBlobs>); fn alt_transaction_blobs_iter( &self, ) -> &(impl DatabaseRo<AltTransactionBlobs> + DatabaseIter<AltTransactionBlobs>); fn alt_transaction_infos_iter( &self, ) -> &(impl DatabaseRo<AltTransactionInfos> + DatabaseIter<AltTransactionInfos>);
}
Expand description

Object containing all opened Tables in read + iter mode.

This is the same as Tables but includes _iter() variants.

Note that this trait is a supertrait of Tables, as in it can use all of its functions as well.

See Tables for documentation - this trait exists for the same reasons.

Required Methods§

Source

fn block_header_blobs_iter( &self, ) -> &(impl DatabaseRo<BlockHeaderBlobs> + DatabaseIter<BlockHeaderBlobs>)

Access an opened read-only + iterable BlockHeaderBlobs database.

Source

fn block_txs_hashes_iter( &self, ) -> &(impl DatabaseRo<BlockTxsHashes> + DatabaseIter<BlockTxsHashes>)

Access an opened read-only + iterable BlockTxsHashes database.

Source

fn block_heights_iter( &self, ) -> &(impl DatabaseRo<BlockHeights> + DatabaseIter<BlockHeights>)

Access an opened read-only + iterable BlockHeights database.

Source

fn block_infos_iter( &self, ) -> &(impl DatabaseRo<BlockInfos> + DatabaseIter<BlockInfos>)

Access an opened read-only + iterable BlockInfos database.

Source

fn key_images_iter( &self, ) -> &(impl DatabaseRo<KeyImages> + DatabaseIter<KeyImages>)

Access an opened read-only + iterable KeyImages database.

Source

fn num_outputs_iter( &self, ) -> &(impl DatabaseRo<NumOutputs> + DatabaseIter<NumOutputs>)

Access an opened read-only + iterable NumOutputs database.

Source

fn outputs_iter(&self) -> &(impl DatabaseRo<Outputs> + DatabaseIter<Outputs>)

Access an opened read-only + iterable Outputs database.

Source

fn pruned_tx_blobs_iter( &self, ) -> &(impl DatabaseRo<PrunedTxBlobs> + DatabaseIter<PrunedTxBlobs>)

Access an opened read-only + iterable PrunedTxBlobs database.

Source

fn prunable_tx_blobs_iter( &self, ) -> &(impl DatabaseRo<PrunableTxBlobs> + DatabaseIter<PrunableTxBlobs>)

Access an opened read-only + iterable PrunableTxBlobs database.

Source

fn prunable_hashes_iter( &self, ) -> &(impl DatabaseRo<PrunableHashes> + DatabaseIter<PrunableHashes>)

Access an opened read-only + iterable PrunableHashes database.

Source

fn rct_outputs_iter( &self, ) -> &(impl DatabaseRo<RctOutputs> + DatabaseIter<RctOutputs>)

Access an opened read-only + iterable RctOutputs database.

Source

fn tx_blobs_iter(&self) -> &(impl DatabaseRo<TxBlobs> + DatabaseIter<TxBlobs>)

Access an opened read-only + iterable TxBlobs database.

Source

fn tx_ids_iter(&self) -> &(impl DatabaseRo<TxIds> + DatabaseIter<TxIds>)

Access an opened read-only + iterable TxIds database.

Source

fn tx_heights_iter( &self, ) -> &(impl DatabaseRo<TxHeights> + DatabaseIter<TxHeights>)

Access an opened read-only + iterable TxHeights database.

Source

fn tx_outputs_iter( &self, ) -> &(impl DatabaseRo<TxOutputs> + DatabaseIter<TxOutputs>)

Access an opened read-only + iterable TxOutputs database.

Source

fn tx_unlock_time_iter( &self, ) -> &(impl DatabaseRo<TxUnlockTime> + DatabaseIter<TxUnlockTime>)

Access an opened read-only + iterable TxUnlockTime database.

Source

fn alt_chain_infos_iter( &self, ) -> &(impl DatabaseRo<AltChainInfos> + DatabaseIter<AltChainInfos>)

Access an opened read-only + iterable AltChainInfos database.

Source

fn alt_block_heights_iter( &self, ) -> &(impl DatabaseRo<AltBlockHeights> + DatabaseIter<AltBlockHeights>)

Access an opened read-only + iterable AltBlockHeights database.

Source

fn alt_blocks_info_iter( &self, ) -> &(impl DatabaseRo<AltBlocksInfo> + DatabaseIter<AltBlocksInfo>)

Access an opened read-only + iterable AltBlocksInfo database.

Source

fn alt_block_blobs_iter( &self, ) -> &(impl DatabaseRo<AltBlockBlobs> + DatabaseIter<AltBlockBlobs>)

Access an opened read-only + iterable AltBlockBlobs database.

Source

fn alt_transaction_blobs_iter( &self, ) -> &(impl DatabaseRo<AltTransactionBlobs> + DatabaseIter<AltTransactionBlobs>)

Access an opened read-only + iterable AltTransactionBlobs database.

Source

fn alt_transaction_infos_iter( &self, ) -> &(impl DatabaseRo<AltTransactionInfos> + DatabaseIter<AltTransactionInfos>)

Access an opened read-only + iterable AltTransactionInfos database.

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.

Implementations on Foreign Types§

Source§

impl<BLOCKHEADERBLOBS, BLOCKTXSHASHES, BLOCKHEIGHTS, BLOCKINFOS, KEYIMAGES, NUMOUTPUTS, OUTPUTS, PRUNEDTXBLOBS, PRUNABLETXBLOBS, PRUNABLEHASHES, RCTOUTPUTS, TXBLOBS, TXIDS, TXHEIGHTS, TXOUTPUTS, TXUNLOCKTIME, ALTCHAININFOS, ALTBLOCKHEIGHTS, ALTBLOCKSINFO, ALTBLOCKBLOBS, ALTTRANSACTIONBLOBS, ALTTRANSACTIONINFOS> TablesIter for (BLOCKHEADERBLOBS, BLOCKTXSHASHES, BLOCKHEIGHTS, BLOCKINFOS, KEYIMAGES, NUMOUTPUTS, OUTPUTS, PRUNEDTXBLOBS, PRUNABLETXBLOBS, PRUNABLEHASHES, RCTOUTPUTS, TXBLOBS, TXIDS, TXHEIGHTS, TXOUTPUTS, TXUNLOCKTIME, ALTCHAININFOS, ALTBLOCKHEIGHTS, ALTBLOCKSINFO, ALTBLOCKBLOBS, ALTTRANSACTIONBLOBS, ALTTRANSACTIONINFOS)
where BLOCKHEADERBLOBS: DatabaseRo<BlockHeaderBlobs> + DatabaseIter<BlockHeaderBlobs>, BLOCKTXSHASHES: DatabaseRo<BlockTxsHashes> + DatabaseIter<BlockTxsHashes>, BLOCKHEIGHTS: DatabaseRo<BlockHeights> + DatabaseIter<BlockHeights>, BLOCKINFOS: DatabaseRo<BlockInfos> + DatabaseIter<BlockInfos>, KEYIMAGES: DatabaseRo<KeyImages> + DatabaseIter<KeyImages>, NUMOUTPUTS: DatabaseRo<NumOutputs> + DatabaseIter<NumOutputs>, OUTPUTS: DatabaseRo<Outputs> + DatabaseIter<Outputs>, PRUNEDTXBLOBS: DatabaseRo<PrunedTxBlobs> + DatabaseIter<PrunedTxBlobs>, PRUNABLETXBLOBS: DatabaseRo<PrunableTxBlobs> + DatabaseIter<PrunableTxBlobs>, PRUNABLEHASHES: DatabaseRo<PrunableHashes> + DatabaseIter<PrunableHashes>, RCTOUTPUTS: DatabaseRo<RctOutputs> + DatabaseIter<RctOutputs>, TXBLOBS: DatabaseRo<TxBlobs> + DatabaseIter<TxBlobs>, TXIDS: DatabaseRo<TxIds> + DatabaseIter<TxIds>, TXHEIGHTS: DatabaseRo<TxHeights> + DatabaseIter<TxHeights>, TXOUTPUTS: DatabaseRo<TxOutputs> + DatabaseIter<TxOutputs>, TXUNLOCKTIME: DatabaseRo<TxUnlockTime> + DatabaseIter<TxUnlockTime>, ALTCHAININFOS: DatabaseRo<AltChainInfos> + DatabaseIter<AltChainInfos>, ALTBLOCKHEIGHTS: DatabaseRo<AltBlockHeights> + DatabaseIter<AltBlockHeights>, ALTBLOCKSINFO: DatabaseRo<AltBlocksInfo> + DatabaseIter<AltBlocksInfo>, ALTBLOCKBLOBS: DatabaseRo<AltBlockBlobs> + DatabaseIter<AltBlockBlobs>, ALTTRANSACTIONBLOBS: DatabaseRo<AltTransactionBlobs> + DatabaseIter<AltTransactionBlobs>, ALTTRANSACTIONINFOS: DatabaseRo<AltTransactionInfos> + DatabaseIter<AltTransactionInfos>,

Source§

fn block_header_blobs_iter( &self, ) -> &(impl DatabaseRo<BlockHeaderBlobs> + DatabaseIter<BlockHeaderBlobs>)

Source§

fn block_txs_hashes_iter( &self, ) -> &(impl DatabaseRo<BlockTxsHashes> + DatabaseIter<BlockTxsHashes>)

Source§

fn block_heights_iter( &self, ) -> &(impl DatabaseRo<BlockHeights> + DatabaseIter<BlockHeights>)

Source§

fn block_infos_iter( &self, ) -> &(impl DatabaseRo<BlockInfos> + DatabaseIter<BlockInfos>)

Source§

fn key_images_iter( &self, ) -> &(impl DatabaseRo<KeyImages> + DatabaseIter<KeyImages>)

Source§

fn num_outputs_iter( &self, ) -> &(impl DatabaseRo<NumOutputs> + DatabaseIter<NumOutputs>)

Source§

fn outputs_iter(&self) -> &(impl DatabaseRo<Outputs> + DatabaseIter<Outputs>)

Source§

fn pruned_tx_blobs_iter( &self, ) -> &(impl DatabaseRo<PrunedTxBlobs> + DatabaseIter<PrunedTxBlobs>)

Source§

fn prunable_tx_blobs_iter( &self, ) -> &(impl DatabaseRo<PrunableTxBlobs> + DatabaseIter<PrunableTxBlobs>)

Source§

fn prunable_hashes_iter( &self, ) -> &(impl DatabaseRo<PrunableHashes> + DatabaseIter<PrunableHashes>)

Source§

fn rct_outputs_iter( &self, ) -> &(impl DatabaseRo<RctOutputs> + DatabaseIter<RctOutputs>)

Source§

fn tx_blobs_iter(&self) -> &(impl DatabaseRo<TxBlobs> + DatabaseIter<TxBlobs>)

Source§

fn tx_ids_iter(&self) -> &(impl DatabaseRo<TxIds> + DatabaseIter<TxIds>)

Source§

fn tx_heights_iter( &self, ) -> &(impl DatabaseRo<TxHeights> + DatabaseIter<TxHeights>)

Source§

fn tx_outputs_iter( &self, ) -> &(impl DatabaseRo<TxOutputs> + DatabaseIter<TxOutputs>)

Source§

fn tx_unlock_time_iter( &self, ) -> &(impl DatabaseRo<TxUnlockTime> + DatabaseIter<TxUnlockTime>)

Source§

fn alt_chain_infos_iter( &self, ) -> &(impl DatabaseRo<AltChainInfos> + DatabaseIter<AltChainInfos>)

Source§

fn alt_block_heights_iter( &self, ) -> &(impl DatabaseRo<AltBlockHeights> + DatabaseIter<AltBlockHeights>)

Source§

fn alt_blocks_info_iter( &self, ) -> &(impl DatabaseRo<AltBlocksInfo> + DatabaseIter<AltBlocksInfo>)

Source§

fn alt_block_blobs_iter( &self, ) -> &(impl DatabaseRo<AltBlockBlobs> + DatabaseIter<AltBlockBlobs>)

Source§

fn alt_transaction_blobs_iter( &self, ) -> &(impl DatabaseRo<AltTransactionBlobs> + DatabaseIter<AltTransactionBlobs>)

Source§

fn alt_transaction_infos_iter( &self, ) -> &(impl DatabaseRo<AltTransactionInfos> + DatabaseIter<AltTransactionInfos>)

Implementors§