Struct cosmwasm_vm::GasInfo [−][src]
Fields
cost: u64The gas cost of a computation that was executed already but not yet charged
externally_used: u64Gas that was used and charged externally. This is needed to adjust the VM’s gas limit but does not affect the gas usage.
Implementations
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for GasInfo
impl UnwindSafe for GasInfo
Blanket Implementations
type ArchivedMetadata = ()
type ArchivedMetadata = ()
The archived version of the pointer metadata for this type.
pub fn pointer_metadata(
&<T as ArchivePointee>::ArchivedMetadata
) -> <T as Pointee>::Metadata
pub fn pointer_metadata(
&<T as ArchivePointee>::ArchivedMetadata
) -> <T as Pointee>::Metadata
Converts some archived metadata to the pointer metadata for itself.
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more