Struct ssvm_evmc_sys::evmc_context [−][src]
#[repr(C)]pub struct evmc_context {
pub host: *const evmc_host_interface,
}
Expand description
Execution context managed by the Host.
The Host MUST pass the pointer to the execution context to ::evmc_execute_fn. The VM MUST pass the same pointer back to the Host in every callback function. The context MUST contain at least the function table defining the context callback interface. Optionally, the Host MAY include in the context additional data.
Fields
host: *const evmc_host_interface
The Host interface.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for evmc_context
impl !Send for evmc_context
impl !Sync for evmc_context
impl Unpin for evmc_context
impl UnwindSafe for evmc_context
Blanket Implementations
Mutably borrows from an owned value. Read more