Struct wasmer_types::InstanceConfig [−][src]
pub struct InstanceConfig {
pub gas_counter: *mut FastGasCounter,
// some fields omitted
}
Expand description
External configuration of execution environment for Instance.
Fields
gas_counter: *mut FastGasCounter
External gas counter pointer.
Implementations
Create instance configuration with an external gas counter, unsafe as it creates
an alias on raw memory of gas_counter. This memory could be accessed until
instance configured with this InstanceConfig
exists.
Trait Implementations
Returns the size of the referenced value in bytes. Read more
Auto Trait Implementations
impl !RefUnwindSafe for InstanceConfig
impl !Send for InstanceConfig
impl !Sync for InstanceConfig
impl Unpin for InstanceConfig
impl !UnwindSafe for InstanceConfig
Blanket Implementations
type ArchivedMetadata = ()
type ArchivedMetadata = ()
The archived version of the pointer metadata for this type.
Converts some archived metadata to the pointer metadata for itself.
Mutably borrows from an owned value. Read more