Trait solana_ledger::blockstore_db::Column[][src]

pub trait Column {
    type Index;
    fn key(index: Self::Index) -> Vec<u8>;
fn index(key: &[u8]) -> Self::Index;
fn primary_index(index: Self::Index) -> Slot;
fn as_index(slot: Slot) -> Self::Index; fn key_size() -> usize { ... } }

Associated Types

type Index[src]

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

fn key_size() -> usize[src]

Implementors

impl Column for AddressSignatures[src][+]

type Index = (u64, Pubkey, Slot, Signature)

impl Column for ErasureMeta[src][+]

type Index = (u64, u64)

impl Column for EvmBlockHeader[src][+]

impl Column for EvmHeaderIndexByHash[src][+]

type Index = (u64, H256)

impl Column for EvmTransactionReceipts[src][+]

type Index = EvmTransactionReceiptsIndex

impl Column for ShredCode[src][+]

impl Column for ShredData[src][+]

type Index = (u64, u64)

impl Column for TransactionStatus[src][+]

type Index = (u64, Signature, Slot)

impl Column for TransactionStatusIndex[src][+]

impl<T: SlotColumn> Column for T[src][+]