[][src]Struct rust_ssvm::EvmcVm

pub struct EvmcVm { /* fields omitted */ }

Implementations

impl EvmcVm[src]

pub fn get_abi_version(&self) -> i32[src]

pub fn get_name(&self) -> &str[src]

pub fn get_version(&self) -> &str[src]

pub fn destroy(&self)[src]

pub fn execute(
    &self,
    ctx: &mut dyn HostContext,
    rev: evmc_revision,
    kind: evmc_call_kind,
    is_static: bool,
    depth: i32,
    gas: i64,
    destination: &[u8; 20],
    sender: &[u8; 20],
    input: &[u8],
    value: &[u8; 32],
    code: &[u8],
    create2_salt: &[u8; 32]
) -> (&[u8], i64, evmc_status_code)
[src]

pub fn has_capability(&self, capability: evmc_capabilities) -> bool[src]

Auto Trait Implementations

impl RefUnwindSafe for EvmcVm

impl !Send for EvmcVm

impl !Sync for EvmcVm

impl Unpin for EvmcVm

impl UnwindSafe for EvmcVm

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.