[][src]Struct elrond_wasm_debug::ArwenMockRef

pub struct ArwenMockRef { /* fields omitted */ }


impl ArwenMockRef[src]

pub fn execute_tx(&self, tx: TxData) -> TxResult[src]

pub fn set_dummy_tx(&self, addr: &Address)[src]

To be used for writing small tests.

pub fn add_account(&self, acct: AccountData)[src]

pub fn print_accounts(&self)[src]

Trait Implementations

impl Clone for ArwenMockRef[src]

impl ContractHookApi<RustBigInt, RustBigUint> for ArwenMockRef[src]

impl ContractIOApi<RustBigInt, RustBigUint> for ArwenMockRef[src]

Auto Trait Implementations

Blanket Implementations

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

impl<T> Borrow<T> for T where
    T: ?Sized

impl<T> BorrowMut<T> for T where
    T: ?Sized

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

impl<T, U> Into<U> for T where
    U: From<T>, 

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> ToOwned for T where
    T: Clone

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 

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

The type returned in the event of a conversion error.