Struct ink_env::call::CallBuilder[][src]

pub struct CallBuilder<E, Callee, GasLimit, TransferredValue, Args, RetType> where
    E: Environment
{ /* fields omitted */ }
Expand description

Builds up a cross contract call.

Implementations

Sets the called smart contract instance account ID to the given value.

The flags used to change the behavior of the contract call.

Sets the maximum allowed gas costs for the call.

Sets the value transferred upon the execution of the call.

Sets the type of the returned value upon the execution of the call.

Note

Either use .returns::<()> to signal that the call does not return a value or use .returns::<ReturnType<T>> to signal that the call returns a value of type T.

Sets the execution input to the given value.

Finalizes the call builder to call a function.

Finalizes the call builder to call a function.

Invokes the cross-chain function call.

Invokes the cross-chain function call.

Invokes the cross-chain function call and returns the result.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

Should always be Self

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.