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

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

Associated Types

type Index

Loading content...

Required methods

fn key(index: Self::Index) -> Vec<u8>

fn index(key: &[u8]) -> Self::Index

fn slot(index: Self::Index) -> Slot

fn as_index(slot: Slot) -> Self::Index

Loading content...

Provided methods

fn key_size() -> usize

Loading content...

Implementors

impl Column for ErasureMeta[src]

type Index = (u64, u64)

impl Column for ShredCode[src]

type Index = (u64, u64)

impl Column for ShredData[src]

type Index = (u64, u64)

impl Column for TransactionStatus[src]

type Index = (Slot, Signature)

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

type Index = u64

Loading content...