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§
fn to_rlp_bytes(&self) -> Vec<u8> ⓘ
fn from_rlp_bytes(bytes: &[u8]) -> Result<StateRootWithAuxInfo>
Object Safety§
This trait is not object safe.
Implementations on Foreign Types§
source§impl StateRootWithAuxInfoToFromRlpBytes for StateRootWithAuxInfo
impl StateRootWithAuxInfoToFromRlpBytes for StateRootWithAuxInfo
Only used by storage benchmark due to incompatibility of rlp crate version.