reth::core::primitives

Trait Receipt

pub trait Receipt:
    Send
    + Sync
    + Unpin
    + Clone
    + Default
    + Debug
    + TxReceipt<Log = Log>
    + Encodable
    + Decodable
    + MaybeSerde
    + InMemorySize
    + MaybeArbitrary {
    // Required method
    fn tx_type(&self) -> u8;
}
Expand description

Abstraction of a receipt.

Required Methods§

fn tx_type(&self) -> u8

Returns transaction type.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementations on Foreign Types§

§

impl<'a, T> Receipt for &'a T
where T: Receipt + 'a + ?Sized, &'a T: Send + Sync + Unpin + Clone + Default + Debug + TxReceipt<Log = Log> + Encodable + Decodable + MaybeSerde + InMemorySize + MaybeArbitrary,

§

fn tx_type(&self) -> u8

§

impl<T> Receipt for Arc<T>
where Arc<T>: Send + Sync + Unpin + Clone + Default + Debug + TxReceipt<Log = Log> + Encodable + Decodable + MaybeSerde + InMemorySize + MaybeArbitrary, T: Receipt + ?Sized,

§

fn tx_type(&self) -> u8

Implementors§