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>
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so 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.
impl StateRootWithAuxInfoToFromRlpBytes for StateRootWithAuxInfo
Only used by storage benchmark due to incompatibility of rlp crate version.