revm_context_interface::transaction

Trait TransactionGetter

Source
pub trait TransactionGetter {
    type Transaction: Transaction;

    // Required method
    fn tx(&self) -> &Self::Transaction;
}

Required Associated Types§

Required Methods§

Source

fn tx(&self) -> &Self::Transaction

Implementations on Foreign Types§

Source§

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

Source§

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

Source§

impl<T: TransactionGetter + ?Sized> TransactionGetter for Box<T>

Source§

impl<T: TransactionGetter + ?Sized> TransactionGetter for Arc<T>

Implementors§