Trait forest_filecoin::shim::fvm_latest::kernel::EventOps
source · pub trait EventOps {
// Required method
fn emit_event(
&mut self,
event_headers: &[EventEntry],
raw_key: &[u8],
raw_val: &[u8],
) -> Result<(), ExecutionError>;
}
Expand description
Eventing APIs.
Required Methods§
sourcefn emit_event(
&mut self,
event_headers: &[EventEntry],
raw_key: &[u8],
raw_val: &[u8],
) -> Result<(), ExecutionError>
fn emit_event( &mut self, event_headers: &[EventEntry], raw_key: &[u8], raw_val: &[u8], ) -> Result<(), ExecutionError>
Records an event emitted throughout execution.