Trait alloy_consensus::RlpDecodableReceipt
source · pub trait RlpDecodableReceipt: Sized {
// Required method
fn rlp_decode_with_bloom(buf: &mut &[u8]) -> Result<ReceiptWithBloom<Self>>;
}
Expand description
Receipt type that knows how to decode itself with a Bloom
value.
Required Methods§
sourcefn rlp_decode_with_bloom(buf: &mut &[u8]) -> Result<ReceiptWithBloom<Self>>
fn rlp_decode_with_bloom(buf: &mut &[u8]) -> Result<ReceiptWithBloom<Self>>
RLP decodes receipt and Bloom
into ReceiptWithBloom
instance.
Object Safety§
This trait is not object safe.