sp1_core_executor::events

Trait PrecompileLocalMemory

Source
pub trait PrecompileLocalMemory {
    // Required method
    fn get_local_mem_events(
        &self,
    ) -> impl IntoIterator<Item = &MemoryLocalEvent>;
}
Expand description

Trait to retrieve all the local memory events from a vec of precompile events.

Required Methods§

Source

fn get_local_mem_events(&self) -> impl IntoIterator<Item = &MemoryLocalEvent>

Get an iterator of all the local memory events.

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§

Source§

impl PrecompileLocalMemory for Vec<(SyscallEvent, PrecompileEvent)>

Implementors§