Struct cosmwasm_vm::GasReport [−][src]
pub struct GasReport {
pub limit: u64,
pub remaining: u64,
pub used_externally: u64,
pub used_internally: u64,
}Fields
limit: u64The original limit the instance was created with
remaining: u64The remaining gas that can be spend
used_externally: u64The amount of gas that was spend and metered externally in operations triggered by this instance
used_internally: u64The amount of gas that was spend and metered internally (i.e. by executing Wasm and calling API methods which are not metered externally)
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for GasReport
impl UnwindSafe for GasReport
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