Trait ReceiptDecoder

Source
pub trait ReceiptDecoder: Decoder<Item = Option<ReceiptWithBlockNumber<Self::Receipt>>> {
    type Receipt;
}
Expand description

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

Required Associated Types§

Source

type Receipt

The receipt type being decoded.

Implementors§

Source§

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