Struct cfx_vm_interpreter::FinalizationResult
source · pub struct FinalizationResult {
pub gas_left: U256,
pub apply_state: bool,
pub return_data: ReturnData,
}
Expand description
Finalization result. Gas Left: either it is a known value, or it needs to be computed by processing a return instruction.
Fields§
§gas_left: U256
Final amount of gas left.
apply_state: bool
Apply execution state changes or revert them.
return_data: ReturnData
Return data buffer.
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for FinalizationResult
impl Send for FinalizationResult
impl Sync for FinalizationResult
impl Unpin for FinalizationResult
impl UnwindSafe for FinalizationResult
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more