cuprate_blockchain::tables

Trait TablesMut

Source
pub trait TablesMut: Tables {
Show 22 methods // Required methods fn block_header_blobs_mut( &mut self, ) -> &mut impl DatabaseRw<BlockHeaderBlobs>; fn block_txs_hashes_mut(&mut self) -> &mut impl DatabaseRw<BlockTxsHashes>; fn block_heights_mut(&mut self) -> &mut impl DatabaseRw<BlockHeights>; fn block_infos_mut(&mut self) -> &mut impl DatabaseRw<BlockInfos>; fn key_images_mut(&mut self) -> &mut impl DatabaseRw<KeyImages>; fn num_outputs_mut(&mut self) -> &mut impl DatabaseRw<NumOutputs>; fn outputs_mut(&mut self) -> &mut impl DatabaseRw<Outputs>; fn pruned_tx_blobs_mut(&mut self) -> &mut impl DatabaseRw<PrunedTxBlobs>; fn prunable_tx_blobs_mut(&mut self) -> &mut impl DatabaseRw<PrunableTxBlobs>; fn prunable_hashes_mut(&mut self) -> &mut impl DatabaseRw<PrunableHashes>; fn rct_outputs_mut(&mut self) -> &mut impl DatabaseRw<RctOutputs>; fn tx_blobs_mut(&mut self) -> &mut impl DatabaseRw<TxBlobs>; fn tx_ids_mut(&mut self) -> &mut impl DatabaseRw<TxIds>; fn tx_heights_mut(&mut self) -> &mut impl DatabaseRw<TxHeights>; fn tx_outputs_mut(&mut self) -> &mut impl DatabaseRw<TxOutputs>; fn tx_unlock_time_mut(&mut self) -> &mut impl DatabaseRw<TxUnlockTime>; fn alt_chain_infos_mut(&mut self) -> &mut impl DatabaseRw<AltChainInfos>; fn alt_block_heights_mut(&mut self) -> &mut impl DatabaseRw<AltBlockHeights>; fn alt_blocks_info_mut(&mut self) -> &mut impl DatabaseRw<AltBlocksInfo>; fn alt_block_blobs_mut(&mut self) -> &mut impl DatabaseRw<AltBlockBlobs>; fn alt_transaction_blobs_mut( &mut self, ) -> &mut impl DatabaseRw<AltTransactionBlobs>; fn alt_transaction_infos_mut( &mut self, ) -> &mut impl DatabaseRw<AltTransactionInfos>;
}
Expand description

Object containing all opened Tables in write mode.

This is the same as Tables but for mutable accesses.

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_mut(&mut self) -> &mut impl DatabaseRw<BlockHeaderBlobs>

Access an opened BlockHeaderBlobs database.

Source

fn block_txs_hashes_mut(&mut self) -> &mut impl DatabaseRw<BlockTxsHashes>

Access an opened BlockTxsHashes database.

Source

fn block_heights_mut(&mut self) -> &mut impl DatabaseRw<BlockHeights>

Access an opened BlockHeights database.

Source

fn block_infos_mut(&mut self) -> &mut impl DatabaseRw<BlockInfos>

Access an opened BlockInfos database.

Source

fn key_images_mut(&mut self) -> &mut impl DatabaseRw<KeyImages>

Access an opened KeyImages database.

Source

fn num_outputs_mut(&mut self) -> &mut impl DatabaseRw<NumOutputs>

Access an opened NumOutputs database.

Source

fn outputs_mut(&mut self) -> &mut impl DatabaseRw<Outputs>

Access an opened Outputs database.

Source

fn pruned_tx_blobs_mut(&mut self) -> &mut impl DatabaseRw<PrunedTxBlobs>

Access an opened PrunedTxBlobs database.

Source

fn prunable_tx_blobs_mut(&mut self) -> &mut impl DatabaseRw<PrunableTxBlobs>

Access an opened PrunableTxBlobs database.

Source

fn prunable_hashes_mut(&mut self) -> &mut impl DatabaseRw<PrunableHashes>

Access an opened PrunableHashes database.

Source

fn rct_outputs_mut(&mut self) -> &mut impl DatabaseRw<RctOutputs>

Access an opened RctOutputs database.

Source

fn tx_blobs_mut(&mut self) -> &mut impl DatabaseRw<TxBlobs>

Access an opened TxBlobs database.

Source

fn tx_ids_mut(&mut self) -> &mut impl DatabaseRw<TxIds>

Access an opened TxIds database.

Source

fn tx_heights_mut(&mut self) -> &mut impl DatabaseRw<TxHeights>

Access an opened TxHeights database.

Source

fn tx_outputs_mut(&mut self) -> &mut impl DatabaseRw<TxOutputs>

Access an opened TxOutputs database.

Source

fn tx_unlock_time_mut(&mut self) -> &mut impl DatabaseRw<TxUnlockTime>

Access an opened TxUnlockTime database.

Source

fn alt_chain_infos_mut(&mut self) -> &mut impl DatabaseRw<AltChainInfos>

Access an opened AltChainInfos database.

Source

fn alt_block_heights_mut(&mut self) -> &mut impl DatabaseRw<AltBlockHeights>

Access an opened AltBlockHeights database.

Source

fn alt_blocks_info_mut(&mut self) -> &mut impl DatabaseRw<AltBlocksInfo>

Access an opened AltBlocksInfo database.

Source

fn alt_block_blobs_mut(&mut self) -> &mut impl DatabaseRw<AltBlockBlobs>

Access an opened AltBlockBlobs database.

Source

fn alt_transaction_blobs_mut( &mut self, ) -> &mut impl DatabaseRw<AltTransactionBlobs>

Access an opened AltTransactionBlobs database.

Source

fn alt_transaction_infos_mut( &mut self, ) -> &mut impl DatabaseRw<AltTransactionInfos>

Access an opened 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> TablesMut 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: DatabaseRw<BlockHeaderBlobs>, BLOCKTXSHASHES: DatabaseRw<BlockTxsHashes>, BLOCKHEIGHTS: DatabaseRw<BlockHeights>, BLOCKINFOS: DatabaseRw<BlockInfos>, KEYIMAGES: DatabaseRw<KeyImages>, NUMOUTPUTS: DatabaseRw<NumOutputs>, OUTPUTS: DatabaseRw<Outputs>, PRUNEDTXBLOBS: DatabaseRw<PrunedTxBlobs>, PRUNABLETXBLOBS: DatabaseRw<PrunableTxBlobs>, PRUNABLEHASHES: DatabaseRw<PrunableHashes>, RCTOUTPUTS: DatabaseRw<RctOutputs>, TXBLOBS: DatabaseRw<TxBlobs>, TXIDS: DatabaseRw<TxIds>, TXHEIGHTS: DatabaseRw<TxHeights>, TXOUTPUTS: DatabaseRw<TxOutputs>, TXUNLOCKTIME: DatabaseRw<TxUnlockTime>, ALTCHAININFOS: DatabaseRw<AltChainInfos>, ALTBLOCKHEIGHTS: DatabaseRw<AltBlockHeights>, ALTBLOCKSINFO: DatabaseRw<AltBlocksInfo>, ALTBLOCKBLOBS: DatabaseRw<AltBlockBlobs>, ALTTRANSACTIONBLOBS: DatabaseRw<AltTransactionBlobs>, ALTTRANSACTIONINFOS: DatabaseRw<AltTransactionInfos>,

Source§

fn block_header_blobs_mut(&mut self) -> &mut impl DatabaseRw<BlockHeaderBlobs>

Source§

fn block_txs_hashes_mut(&mut self) -> &mut impl DatabaseRw<BlockTxsHashes>

Source§

fn block_heights_mut(&mut self) -> &mut impl DatabaseRw<BlockHeights>

Source§

fn block_infos_mut(&mut self) -> &mut impl DatabaseRw<BlockInfos>

Source§

fn key_images_mut(&mut self) -> &mut impl DatabaseRw<KeyImages>

Source§

fn num_outputs_mut(&mut self) -> &mut impl DatabaseRw<NumOutputs>

Source§

fn outputs_mut(&mut self) -> &mut impl DatabaseRw<Outputs>

Source§

fn pruned_tx_blobs_mut(&mut self) -> &mut impl DatabaseRw<PrunedTxBlobs>

Source§

fn prunable_tx_blobs_mut(&mut self) -> &mut impl DatabaseRw<PrunableTxBlobs>

Source§

fn prunable_hashes_mut(&mut self) -> &mut impl DatabaseRw<PrunableHashes>

Source§

fn rct_outputs_mut(&mut self) -> &mut impl DatabaseRw<RctOutputs>

Source§

fn tx_blobs_mut(&mut self) -> &mut impl DatabaseRw<TxBlobs>

Source§

fn tx_ids_mut(&mut self) -> &mut impl DatabaseRw<TxIds>

Source§

fn tx_heights_mut(&mut self) -> &mut impl DatabaseRw<TxHeights>

Source§

fn tx_outputs_mut(&mut self) -> &mut impl DatabaseRw<TxOutputs>

Source§

fn tx_unlock_time_mut(&mut self) -> &mut impl DatabaseRw<TxUnlockTime>

Source§

fn alt_chain_infos_mut(&mut self) -> &mut impl DatabaseRw<AltChainInfos>

Source§

fn alt_block_heights_mut(&mut self) -> &mut impl DatabaseRw<AltBlockHeights>

Source§

fn alt_blocks_info_mut(&mut self) -> &mut impl DatabaseRw<AltBlocksInfo>

Source§

fn alt_block_blobs_mut(&mut self) -> &mut impl DatabaseRw<AltBlockBlobs>

Source§

fn alt_transaction_blobs_mut( &mut self, ) -> &mut impl DatabaseRw<AltTransactionBlobs>

Source§

fn alt_transaction_infos_mut( &mut self, ) -> &mut impl DatabaseRw<AltTransactionInfos>

Implementors§