Trait evm::backend::ApplyBackend

source ·
pub trait ApplyBackend {
    // Required method
    fn apply<A, I, L>(&mut self, values: A, logs: L, delete_empty: bool)
       where A: IntoIterator<Item = Apply<I>>,
             I: IntoIterator<Item = (H256, H256)>,
             L: IntoIterator<Item = Log>;
}
Expand description

EVM backend that can apply changes.

Required Methods§

source

fn apply<A, I, L>(&mut self, values: A, logs: L, delete_empty: bool)
where A: IntoIterator<Item = Apply<I>>, I: IntoIterator<Item = (H256, H256)>, L: IntoIterator<Item = Log>,

Apply given values and logs at backend.

Object Safety§

This trait is not object safe.

Implementors§

source§

impl<'vicinity> ApplyBackend for MemoryBackend<'vicinity>