[−][src]Struct evmc_sys::evmc_host_interface
The Host interface.
The set of all callback functions expected by VM instances. This is C realisation of vtable for OOP interface (only virtual methods, no data). Host implementations SHOULD create constant singletons of this (similarly to vtables) to lower the maintenance and memory management cost.
Fields
account_exists: evmc_account_exists_fnCheck account existence callback function.
get_storage: evmc_get_storage_fnGet storage callback function.
set_storage: evmc_set_storage_fnSet storage callback function.
get_balance: evmc_get_balance_fnGet balance callback function.
get_code_size: evmc_get_code_size_fnGet code size callback function.
get_code_hash: evmc_get_code_hash_fnGet code hash callback function.
copy_code: evmc_copy_code_fnCopy code callback function.
selfdestruct: evmc_selfdestruct_fnSelfdestruct callback function.
call: evmc_call_fnCall callback function.
get_tx_context: evmc_get_tx_context_fnGet transaction context callback function.
get_block_hash: evmc_get_block_hash_fnGet block hash callback function.
emit_log: evmc_emit_log_fnEmit log callback function.
Trait Implementations
impl Clone for evmc_host_interface[src]
fn clone(&self) -> evmc_host_interface[src]
fn clone_from(&mut self, source: &Self)1.0.0[src]
impl Copy for evmc_host_interface[src]
impl Debug for evmc_host_interface[src]
impl Hash for evmc_host_interface[src]
fn hash<__H: Hasher>(&self, state: &mut __H)[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher, 1.3.0[src]
H: Hasher,
impl PartialEq<evmc_host_interface> for evmc_host_interface[src]
fn eq(&self, other: &evmc_host_interface) -> bool[src]
fn ne(&self, other: &evmc_host_interface) -> bool[src]
impl StructuralPartialEq for evmc_host_interface[src]
Auto Trait Implementations
impl RefUnwindSafe for evmc_host_interface
impl Send for evmc_host_interface
impl Sync for evmc_host_interface
impl Unpin for evmc_host_interface
impl UnwindSafe for evmc_host_interface
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T[src]
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone, [src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T[src]
pub fn clone_into(&self, target: &mut T)[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,