pub struct WithNewAddress<Env, F>{
pub f: F,
/* private fields */
}Expand description
Defines a lambda function to be called on the newly deployed address, after a deploy.
Fields§
§f: FImplementations§
Source§impl<Env, F> WithNewAddress<Env, F>
impl<Env, F> WithNewAddress<Env, F>
Trait Implementations§
Source§impl<Env, F, Original> RHListItem<Env, Original> for WithNewAddress<Env, F>
impl<Env, F, Original> RHListItem<Env, Original> for WithNewAddress<Env, F>
Source§impl<Env, F, Original> RHListItemExec<DeployRawResult<<Env as TxEnv>::Api>, Env, Original> for WithNewAddress<Env, F>
impl<Env, F, Original> RHListItemExec<DeployRawResult<<Env as TxEnv>::Api>, Env, Original> for WithNewAddress<Env, F>
Source§fn item_process_result(
self,
raw_result: &DeployRawResult<Env::Api>,
) -> Self::Returns
fn item_process_result( self, raw_result: &DeployRawResult<Env::Api>, ) -> Self::Returns
The main functionality of a result handler, it either does some computation internally
(e.g. execution of a lambda function), or produces a result, or both.