Trait alloy_consensus::RlpEncodableReceipt

source ·
pub trait RlpEncodableReceipt {
    // Required methods
    fn rlp_encoded_length_with_bloom(&self, bloom: &Bloom) -> usize;
    fn rlp_encode_with_bloom(&self, bloom: &Bloom, out: &mut dyn BufMut);
}
Expand description

Receipt type that knows how to encode itself with a Bloom value.

Required Methods§

source

fn rlp_encoded_length_with_bloom(&self, bloom: &Bloom) -> usize

Returns the length of the receipt payload with the provided bloom filter.

source

fn rlp_encode_with_bloom(&self, bloom: &Bloom, out: &mut dyn BufMut)

RLP encodes the receipt with the provided bloom filter.

Implementations on Foreign Types§

source§

impl<'a, T: 'a + RlpEncodableReceipt + ?Sized> RlpEncodableReceipt for &'a T

source§

fn rlp_encoded_length_with_bloom(&self, bloom: &Bloom) -> usize

source§

fn rlp_encode_with_bloom(&self, bloom: &Bloom, out: &mut dyn BufMut)

Implementors§