Struct ink_env::call::ExecutionInput [−][src]
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]
self,
arg: T
) -> ExecutionInput<ArgumentList<Argument<T>, EmptyArgumentList>> where
T: Encode,
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]
self,
arg: T
) -> ExecutionInput<ArgsList<T, ArgsList<Head, Rest>>> where
T: Encode,
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]
Args: Encode,
Auto Trait Implementations
impl<Args> RefUnwindSafe for ExecutionInput<Args> where
Args: RefUnwindSafe,
Args: RefUnwindSafe,
impl<Args> Send for ExecutionInput<Args> where
Args: Send,
Args: Send,
impl<Args> Sync for ExecutionInput<Args> where
Args: Sync,
Args: Sync,
impl<Args> Unpin for ExecutionInput<Args> where
Args: Unpin,
Args: Unpin,
impl<Args> UnwindSafe for ExecutionInput<Args> where
Args: UnwindSafe,
Args: UnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<'_, '_, T> EncodeLike<&'_ &'_ T> for T where
T: Encode,
[src]
T: Encode,
impl<'_, T> EncodeLike<&'_ T> for T where
T: Encode,
[src]
T: Encode,
impl<'_, T> EncodeLike<&'_ mut T> for T where
T: Encode,
[src]
T: Encode,
impl<T> EncodeLike<Arc<T>> for T where
T: Encode,
[src]
T: Encode,
impl<T> EncodeLike<Box<T, Global>> for T where
T: Encode,
[src]
T: Encode,
impl<T> EncodeLike<Rc<T>> for T where
T: Encode,
[src]
T: Encode,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
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]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,