revm_context_interface::block

Trait BlockGetter

Source
pub trait BlockGetter {
    type Block: Block;

    // Required method
    fn block(&self) -> &Self::Block;
}

Required Associated Types§

Required Methods§

Source

fn block(&self) -> &Self::Block

Implementations on Foreign Types§

Source§

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

Source§

type Block = <T as BlockGetter>::Block

Source§

fn block(&self) -> &Self::Block

Source§

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

Source§

type Block = <T as BlockGetter>::Block

Source§

fn block(&self) -> &Self::Block

Source§

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

Source§

type Block = <T as BlockGetter>::Block

Source§

fn block(&self) -> &Self::Block

Source§

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

Source§

type Block = <T as BlockGetter>::Block

Source§

fn block(&self) -> &Self::Block

Implementors§