Skip to main content

ReceiptDecoder

Trait ReceiptDecoder 

Source
pub trait ReceiptDecoder: Decoder<Item = Option<ReceiptWithBlockNumber<Self::Receipt>>> {
    type Receipt;
}
Available on crate features file-client only.
Expand description

Helper trait implemented for [Decoder] that decodes the receipt type.

Required Associated Types§

Source

type Receipt

The receipt type being decoded.

Dyn Compatibility§

This trait is dyn compatible.

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

Implementors§

Source§

impl<T, R> ReceiptDecoder for T
where T: Decoder<Item = Option<ReceiptWithBlockNumber<R>>>,