Enum evm_gasometer::tracing::Event[][src]

pub enum Event {
    RecordCost {
        cost: u64,
        snapshot: Option<Snapshot>,
    },
    RecordRefund {
        refund: i64,
        snapshot: Option<Snapshot>,
    },
    RecordStipend {
        stipend: u64,
        snapshot: Option<Snapshot>,
    },
    RecordDynamicCost {
        gas_cost: u64,
        memory_gas: u64,
        gas_refund: i64,
        snapshot: Option<Snapshot>,
    },
    RecordTransaction {
        cost: u64,
        snapshot: Option<Snapshot>,
    },
}

Variants

RecordCost

Fields of RecordCost

cost: u64snapshot: Option<Snapshot>
RecordRefund

Fields of RecordRefund

refund: i64snapshot: Option<Snapshot>
RecordStipend

Fields of RecordStipend

stipend: u64snapshot: Option<Snapshot>
RecordDynamicCost

Fields of RecordDynamicCost

gas_cost: u64memory_gas: u64gas_refund: i64snapshot: Option<Snapshot>
RecordTransaction

Fields of RecordTransaction

cost: u64snapshot: Option<Snapshot>

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

Should always be Self

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.