Struct ink_env::call::ExecutionInput[][src]

pub struct ExecutionInput<Args> { /* fields omitted */ }

The input data for a smart contract execution.

Implementations

impl ExecutionInput<EmptyArgumentList>[src]

pub fn new(selector: Selector) -> Self[src]

Creates a new execution input with the given selector.

pub fn push_arg<T>(
    self,
    arg: T
) -> ExecutionInput<ArgumentList<Argument<T>, EmptyArgumentList>> where
    T: Encode
[src]

Pushes an argument to the execution input.

impl<'a, Head, Rest> ExecutionInput<ArgumentList<Argument<Head>, Rest>>[src]

pub fn push_arg<T>(
    self,
    arg: T
) -> ExecutionInput<ArgsList<T, ArgsList<Head, Rest>>> where
    T: Encode
[src]

Pushes an argument to the execution input.

Trait Implementations

impl<Args: Debug> Debug for ExecutionInput<Args>[src]

impl<Args> Encode for ExecutionInput<Args> where
    Args: Encode
[src]

Auto Trait Implementations

impl<Args> RefUnwindSafe for ExecutionInput<Args> where
    Args: RefUnwindSafe

impl<Args> Send for ExecutionInput<Args> where
    Args: Send

impl<Args> Sync for ExecutionInput<Args> where
    Args: Sync

impl<Args> Unpin for ExecutionInput<Args> where
    Args: Unpin

impl<Args> UnwindSafe for ExecutionInput<Args> where
    Args: UnwindSafe

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> EncodeLike<&'_ &'_ T> for T where
    T: Encode
[src]

impl<'_, T> EncodeLike<&'_ T> for T where
    T: Encode
[src]

impl<'_, T> EncodeLike<&'_ mut T> for T where
    T: Encode
[src]

impl<T> EncodeLike<Arc<T>> for T where
    T: Encode
[src]

impl<T> EncodeLike<Box<T, Global>> for T where
    T: Encode
[src]

impl<T> EncodeLike<Rc<T>> for T where
    T: Encode
[src]

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

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

impl<T> Same<T> for T

type Output = T

Should always be Self

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.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,