pub struct Execution<Args, Output> {
pub input: ExecutionInput<Args>,
pub output: ReturnType<Output>,
}
Expand description
The input data and the expected return type of a contract execution.
Fields§
§input: ExecutionInput<Args>
The input data for initiating a contract execution.
output: ReturnType<Output>
The type of the expected return value of the contract execution.
Implementations§
Trait Implementations§
source§impl<E, Args, RetType> From<Execution<Args, RetType>> for CallBuilder<E, Unset<Call<E>>, Set<ExecutionInput<Args>>, Set<ReturnType<RetType>>>where
E: Environment,
impl<E, Args, RetType> From<Execution<Args, RetType>> for CallBuilder<E, Unset<Call<E>>, Set<ExecutionInput<Args>>, Set<ReturnType<RetType>>>where
E: Environment,
Auto Trait Implementations§
impl<Args, Output> Freeze for Execution<Args, Output>where
Args: Freeze,
impl<Args, Output> RefUnwindSafe for Execution<Args, Output>where
Args: RefUnwindSafe,
impl<Args, Output> Send for Execution<Args, Output>where
Args: Send,
impl<Args, Output> Sync for Execution<Args, Output>where
Args: Sync,
impl<Args, Output> Unpin for Execution<Args, Output>where
Args: Unpin,
impl<Args, Output> UnwindSafe for Execution<Args, Output>where
Args: UnwindSafe,
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> SaturatedConversion for T
impl<T> SaturatedConversion for T
§fn saturated_from<T>(t: T) -> Selfwhere
Self: UniqueSaturatedFrom<T>,
fn saturated_from<T>(t: T) -> Selfwhere
Self: UniqueSaturatedFrom<T>,
§fn saturated_into<T>(self) -> Twhere
Self: UniqueSaturatedInto<T>,
fn saturated_into<T>(self) -> Twhere
Self: UniqueSaturatedInto<T>,
Consume self to return an equivalent value of
T
. Read more§impl<T, S> UniqueSaturatedInto<T> for S
impl<T, S> UniqueSaturatedInto<T> for S
§fn unique_saturated_into(self) -> T
fn unique_saturated_into(self) -> T
Consume self to return an equivalent value of
T
.