Trait solana_ledger::blockstore_db::Column [−][src]
Associated Types
Loading content...Required methods
fn key(index: Self::Index) -> Vec<u8>
[src]
fn index(key: &[u8]) -> Self::Index
[src]
fn primary_index(index: Self::Index) -> Slot
[src]
fn as_index(slot: Slot) -> Self::Index
[src]
Provided methods
Loading content...Implementors
impl Column for AddressSignatures
[src]
type Index = (u64, Pubkey, Slot, Signature)
fn key(
(index, pubkey, slot, signature): (u64, Pubkey, Slot, Signature)
) -> Vec<u8>
[src]
(index, pubkey, slot, signature): (u64, Pubkey, Slot, Signature)
) -> Vec<u8>
fn index(key: &[u8]) -> (u64, Pubkey, Slot, Signature)
[src]
fn primary_index(index: Self::Index) -> u64
[src]
fn as_index(index: u64) -> Self::Index
[src]
impl Column for ErasureMeta
[src]
type Index = (u64, u64)
fn index(key: &[u8]) -> (u64, u64)
[src]
fn key((slot, set_index): (u64, u64)) -> Vec<u8>
[src]
fn primary_index(index: Self::Index) -> Slot
[src]
fn as_index(slot: Slot) -> Self::Index
[src]
impl Column for EvmBlockHeader
[src]
type Index = (BlockNum, Option<Slot>)
fn key((block, slot): (BlockNum, Option<Slot>)) -> Vec<u8>
[src]
fn index(key: &[u8]) -> (BlockNum, Option<Slot>)
[src]
fn primary_index((block, _): (BlockNum, Option<Slot>)) -> u64
[src]
fn as_index(block: u64) -> (BlockNum, Option<Slot>)
[src]
impl Column for EvmHeaderIndexByHash
[src]
type Index = (u64, H256)
fn key((index, hash): (u64, H256)) -> Vec<u8>
[src]
fn index(key: &[u8]) -> (u64, H256)
[src]
fn primary_index(index: Self::Index) -> u64
[src]
fn as_index(index: u64) -> Self::Index
[src]
impl Column for EvmTransactionReceipts
[src]
type Index = EvmTransactionReceiptsIndex
fn key(
EvmTransactionReceiptsIndex { index: index, hash: hash, block_num: block_num, slot: slot }: EvmTransactionReceiptsIndex
) -> Vec<u8>
[src]
EvmTransactionReceiptsIndex { index: index, hash: hash, block_num: block_num, slot: slot }: EvmTransactionReceiptsIndex
) -> Vec<u8>