pub type evmc_get_tx_context_fn = Option<unsafe extern "C" fn(context: *mut evmc_host_context) -> evmc_tx_context>;Expand description
Get transaction context callback function.
This callback function is used by an EVM to retrieve the transaction and block context.
@param context The pointer to the Host execution context. @return The transaction context.
Aliased Type§
pub enum evmc_get_tx_context_fn {
None,
Some(unsafe extern "C" fn(*mut evmc_host_context) -> evmc_tx_context),
}Variants§
None
No value.
Some(unsafe extern "C" fn(*mut evmc_host_context) -> evmc_tx_context)
Some value of type T.