pub struct ComputePhaseVMInfo {
pub gas_used: VarLenBytes<u64, 3>,
pub gas_limit: VarLenBytes<u64, 3>,
pub gas_credit: Option<VarLenBytes<u64, 2>>,
pub mode: i8,
pub exit_code: i32,
pub exit_arg: Option<i32>,
pub vm_steps: u32,
pub vm_init_state_hash: TonHash,
pub vm_final_state_hash: TonHash,
}Fields§
§gas_used: VarLenBytes<u64, 3>§gas_limit: VarLenBytes<u64, 3>§gas_credit: Option<VarLenBytes<u64, 2>>§mode: i8§exit_code: i32§exit_arg: Option<i32>§vm_steps: u32§vm_init_state_hash: TonHash§vm_final_state_hash: TonHashTrait Implementations§
Source§impl Clone for ComputePhaseVMInfo
impl Clone for ComputePhaseVMInfo
Source§fn clone(&self) -> ComputePhaseVMInfo
fn clone(&self) -> ComputePhaseVMInfo
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ComputePhaseVMInfo
impl Debug for ComputePhaseVMInfo
Source§impl PartialEq for ComputePhaseVMInfo
impl PartialEq for ComputePhaseVMInfo
Source§impl TLB for ComputePhaseVMInfo
impl TLB for ComputePhaseVMInfo
const PREFIX: TLBPrefix
Source§fn read_definition(parser: &mut CellParser<'_>) -> Result<Self, TLCoreError>
fn read_definition(parser: &mut CellParser<'_>) -> Result<Self, TLCoreError>
read-write definition
https://docs.ton.org/v3/documentation/data-formats/tlb/tl-b-language#overview
must be implemented by all TLB objects
doesn’t include prefix handling
fn write_definition(&self, builder: &mut CellBuilder) -> Result<(), TLCoreError>
Source§fn read(parser: &mut CellParser<'_>) -> Result<Self, TLCoreError>
fn read(parser: &mut CellParser<'_>) -> Result<Self, TLCoreError>
interface - must be used by external code to read/write TLB objects
fn write(&self, builder: &mut CellBuilder) -> Result<(), TLCoreError>
fn cell_hash(&self) -> Result<TonHash, TLCoreError>
fn from_boc(boc: &[u8]) -> Result<Self, TLCoreError>
fn from_boc_hex(boc: &str) -> Result<Self, TLCoreError>
fn from_boc_b64(boc: &str) -> Result<Self, TLCoreError>
fn to_cell_ref(&self) -> Result<TonCellRef, TLCoreError>
fn to_boc(&self) -> Result<Vec<u8>, TLCoreError>
fn to_boc_hex(&self) -> Result<String, TLCoreError>
fn to_boc_base64(&self) -> Result<String, TLCoreError>
fn to_boc_extra(&self, add_crc32: bool) -> Result<Vec<u8>, TLCoreError>
fn to_boc_hex_extra(&self, add_crc32: bool) -> Result<String, TLCoreError>
fn to_boc_base64_extra(&self, add_crc32: bool) -> Result<String, TLCoreError>
Source§fn verify_prefix(reader: &mut CellParser<'_>) -> Result<(), TLCoreError>
fn verify_prefix(reader: &mut CellParser<'_>) -> Result<(), TLCoreError>
Helpers - mostly for internal use
fn write_prefix(builder: &mut CellBuilder) -> Result<(), TLCoreError>
fn cell_type(&self) -> CellType
impl StructuralPartialEq for ComputePhaseVMInfo
Auto Trait Implementations§
impl Freeze for ComputePhaseVMInfo
impl RefUnwindSafe for ComputePhaseVMInfo
impl Send for ComputePhaseVMInfo
impl Sync for ComputePhaseVMInfo
impl Unpin for ComputePhaseVMInfo
impl UnsafeUnpin for ComputePhaseVMInfo
impl UnwindSafe for ComputePhaseVMInfo
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