pub trait DatabaseEncodable {
    // Required method
    fn db_encode(&self) -> Bytes;
}

Required Methods§

source

fn db_encode(&self) -> Bytes

Implementations on Foreign Types§

source§

impl DatabaseEncodable for u64

source§

fn db_encode(&self) -> Vec<u8>

source§

impl DatabaseEncodable for BlockHeader

source§

fn db_encode(&self) -> Bytes

source§

impl DatabaseEncodable for H256

source§

fn db_encode(&self) -> Vec<u8>

source§

impl DatabaseEncodable for TransactionIndex

source§

fn db_encode(&self) -> Vec<u8>

Implementors§