pub trait LogExt {
// Required methods
fn record(self, handle: &mut impl PrecompileHandle) -> EvmResult;
fn compute_cost(&self) -> EvmResult<u64>;
}
Expand description
Extension trait allowing to record logs into a PrecompileHandle.
Required Methods§
fn record(self, handle: &mut impl PrecompileHandle) -> EvmResult
fn compute_cost(&self) -> EvmResult<u64>
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.