Skip to main content

DecodeCompressedRlp

Trait DecodeCompressedRlp 

Source
pub trait DecodeCompressedRlp {
    // Required method
    fn decode<T: Decodable>(&self) -> Result<T, E2sError>;
}
Expand description

Extension trait for generic decoding from compressed data

Required Methods§

Source

fn decode<T: Decodable>(&self) -> Result<T, E2sError>

Decompress and decode the data into the given type

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§

Source§

impl DecodeCompressedRlp for reth_era::era1::types::execution::CompressedBody

Source§

impl DecodeCompressedRlp for reth_era::ere::types::execution::CompressedBody

Source§

impl DecodeCompressedRlp for reth_era::era1::types::execution::CompressedHeader

Source§

impl DecodeCompressedRlp for reth_era::ere::types::execution::CompressedHeader

Source§

impl DecodeCompressedRlp for CompressedReceipts

Source§

impl DecodeCompressedRlp for CompressedSlimReceipts