Trait cuprate_blockchain::tables::TablesIter

source ·
pub trait TablesIter: Sealed + Tables {
Show 15 methods // Required methods fn block_infos_iter( &self, ) -> &(impl DatabaseRo<BlockInfos> + DatabaseIter<BlockInfos>); fn block_blobs_iter( &self, ) -> &(impl DatabaseRo<BlockBlobs> + DatabaseIter<BlockBlobs>); fn block_heights_iter( &self, ) -> &(impl DatabaseRo<BlockHeights> + DatabaseIter<BlockHeights>); fn key_images_iter( &self, ) -> &(impl DatabaseRo<KeyImages> + DatabaseIter<KeyImages>); fn num_outputs_iter( &self, ) -> &(impl DatabaseRo<NumOutputs> + DatabaseIter<NumOutputs>); fn pruned_tx_blobs_iter( &self, ) -> &(impl DatabaseRo<PrunedTxBlobs> + DatabaseIter<PrunedTxBlobs>); fn prunable_hashes_iter( &self, ) -> &(impl DatabaseRo<PrunableHashes> + DatabaseIter<PrunableHashes>); fn outputs_iter( &self, ) -> &(impl DatabaseRo<Outputs> + DatabaseIter<Outputs>); fn prunable_tx_blobs_iter( &self, ) -> &(impl DatabaseRo<PrunableTxBlobs> + DatabaseIter<PrunableTxBlobs>); 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>);
}
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_infos_iter( &self, ) -> &(impl DatabaseRo<BlockInfos> + DatabaseIter<BlockInfos>)

Access an opened read-only + iterable BlockInfos database.

source

fn block_blobs_iter( &self, ) -> &(impl DatabaseRo<BlockBlobs> + DatabaseIter<BlockBlobs>)

Access an opened read-only + iterable BlockBlobs database.

source

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

Access an opened read-only + iterable BlockHeights 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 pruned_tx_blobs_iter( &self, ) -> &(impl DatabaseRo<PrunedTxBlobs> + DatabaseIter<PrunedTxBlobs>)

Access an opened read-only + iterable PrunedTxBlobs database.

source

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

Access an opened read-only + iterable PrunableHashes database.

source

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

Access an opened read-only + iterable Outputs database.

source

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

Access an opened read-only + iterable PrunableTxBlobs 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.

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl<BLOCKINFOS, BLOCKBLOBS, BLOCKHEIGHTS, KEYIMAGES, NUMOUTPUTS, PRUNEDTXBLOBS, PRUNABLEHASHES, OUTPUTS, PRUNABLETXBLOBS, RCTOUTPUTS, TXBLOBS, TXIDS, TXHEIGHTS, TXOUTPUTS, TXUNLOCKTIME> TablesIter for (BLOCKINFOS, BLOCKBLOBS, BLOCKHEIGHTS, KEYIMAGES, NUMOUTPUTS, PRUNEDTXBLOBS, PRUNABLEHASHES, OUTPUTS, PRUNABLETXBLOBS, RCTOUTPUTS, TXBLOBS, TXIDS, TXHEIGHTS, TXOUTPUTS, TXUNLOCKTIME)

Implementors§