pub trait StateRootWithAuxInfoToFromRlpBytes {
    // Required methods
    fn to_rlp_bytes(&self) -> Vec<u8> ;
    fn from_rlp_bytes(bytes: &[u8]) -> Result<StateRootWithAuxInfo>;
}
Expand description

Only used by storage benchmark due to incompatibility of rlp crate version.

Required Methods§

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl StateRootWithAuxInfoToFromRlpBytes for StateRootWithAuxInfo

Only used by storage benchmark due to incompatibility of rlp crate version.

source§

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

source§

fn from_rlp_bytes(bytes: &[u8]) -> Result<Self>

Implementors§