[][src]Struct elrond_wasm::OtherContractHandle

pub struct OtherContractHandle<T, BigInt, BigUint> where
    BigUint: BigUintApi + 'static,
    &'a BigUint: Add<&'b BigUint, Output = BigUint>,
    &'a BigUint: Sub<&'b BigUint, Output = BigUint>,
    &'a BigUint: Mul<&'b BigUint, Output = BigUint>,
    &'a BigUint: Div<&'b BigUint, Output = BigUint>,
    &'a BigUint: Rem<&'b BigUint, Output = BigUint>,
    BigUint: AddAssign<&'b BigUint>,
    BigUint: SubAssign<&'b BigUint>,
    BigUint: MulAssign<&'b BigUint>,
    BigUint: DivAssign<&'b BigUint>,
    BigUint: RemAssign<&'b BigUint>,
    &'a BigUint: BitAnd<&'b BigUint, Output = BigUint>,
    &'a BigUint: BitOr<&'b BigUint, Output = BigUint>,
    &'a BigUint: BitXor<&'b BigUint, Output = BigUint>,
    BigUint: BitAndAssign<&'b BigUint>,
    BigUint: BitOrAssign<&'b BigUint>,
    BigUint: BitXorAssign<&'b BigUint>,
    &'a BigUint: Shr<usize, Output = BigUint>,
    &'a BigUint: Shl<usize, Output = BigUint>,
    BigInt: BigIntApi<BigUint> + 'static,
    &'a BigInt: Add<&'b BigInt, Output = BigInt>,
    &'a BigInt: Sub<&'b BigInt, Output = BigInt>,
    &'a BigInt: Mul<&'b BigInt, Output = BigInt>,
    &'a BigInt: Div<&'b BigInt, Output = BigInt>,
    &'a BigInt: Rem<&'b BigInt, Output = BigInt>,
    BigInt: AddAssign<&'b BigInt>,
    BigInt: SubAssign<&'b BigInt>,
    BigInt: MulAssign<&'b BigInt>,
    BigInt: DivAssign<&'b BigInt>,
    BigInt: RemAssign<&'b BigInt>,
    T: ContractHookApi<BigInt, BigUint> + ContractIOApi<BigInt, BigUint> + Clone + 'static, 
{ pub api: T, pub address: Address, // some fields omitted }

Fields

api: Taddress: Address

Implementations

impl<T, BigInt, BigUint> OtherContractHandle<T, BigInt, BigUint> where
    BigUint: BigUintApi + 'static,
    &'a BigUint: Add<&'b BigUint, Output = BigUint>,
    &'a BigUint: Sub<&'b BigUint, Output = BigUint>,
    &'a BigUint: Mul<&'b BigUint, Output = BigUint>,
    &'a BigUint: Div<&'b BigUint, Output = BigUint>,
    &'a BigUint: Rem<&'b BigUint, Output = BigUint>,
    BigUint: AddAssign<&'b BigUint>,
    BigUint: SubAssign<&'b BigUint>,
    BigUint: MulAssign<&'b BigUint>,
    BigUint: DivAssign<&'b BigUint>,
    BigUint: RemAssign<&'b BigUint>,
    &'a BigUint: BitAnd<&'b BigUint, Output = BigUint>,
    &'a BigUint: BitOr<&'b BigUint, Output = BigUint>,
    &'a BigUint: BitXor<&'b BigUint, Output = BigUint>,
    BigUint: BitAndAssign<&'b BigUint>,
    BigUint: BitOrAssign<&'b BigUint>,
    BigUint: BitXorAssign<&'b BigUint>,
    &'a BigUint: Shr<usize, Output = BigUint>,
    &'a BigUint: Shl<usize, Output = BigUint>,
    BigInt: BigIntApi<BigUint> + 'static,
    &'a BigInt: Add<&'b BigInt, Output = BigInt>,
    &'a BigInt: Sub<&'b BigInt, Output = BigInt>,
    &'a BigInt: Mul<&'b BigInt, Output = BigInt>,
    &'a BigInt: Div<&'b BigInt, Output = BigInt>,
    &'a BigInt: Rem<&'b BigInt, Output = BigInt>,
    BigInt: AddAssign<&'b BigInt>,
    BigInt: SubAssign<&'b BigInt>,
    BigInt: MulAssign<&'b BigInt>,
    BigInt: DivAssign<&'b BigInt>,
    BigInt: RemAssign<&'b BigInt>,
    T: ContractHookApi<BigInt, BigUint> + ContractIOApi<BigInt, BigUint> + Clone + 'static, 
[src]

pub fn new(api: T, address: &Address) -> Self[src]

Auto Trait Implementations

impl<T, BigInt, BigUint> Send for OtherContractHandle<T, BigInt, BigUint> where
    BigInt: Send,
    BigUint: Send,
    T: Send

impl<T, BigInt, BigUint> Sync for OtherContractHandle<T, BigInt, BigUint> where
    BigInt: Sync,
    BigUint: Sync,
    T: Sync

impl<T, BigInt, BigUint> Unpin for OtherContractHandle<T, BigInt, BigUint> where
    BigInt: Unpin,
    BigUint: Unpin,
    T: Unpin

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.