Trait evm::evm::Finalize [−][src]
pub trait Finalize { fn finalize<E: Ext>(self, ext: E) -> Result<FinalizationResult>; }
Types that can be "finalized" using an EVM.
In practice, this is just used to define an inherent impl on
Reult<GasLeft<'a>>
.
Required Methods
fn finalize<E: Ext>(self, ext: E) -> Result<FinalizationResult>
Consume the externalities, call return if necessary, and produce call result.
Implementations on Foreign Types
impl Finalize for Result<GasLeft>
[src]
impl Finalize for Result<GasLeft>
fn finalize<E: Ext>(self, ext: E) -> Result<FinalizationResult>
[src]
fn finalize<E: Ext>(self, ext: E) -> Result<FinalizationResult>