pub struct RemotingAction<TRemoting: Remoting, TActionIo: ActionIo> { /* private fields */ }Implementations§
Trait Implementations§
Source§impl<TRemoting: Remoting, TActionIo: ActionIo> Action for RemotingAction<TRemoting, TActionIo>
impl<TRemoting: Remoting, TActionIo: ActionIo> Action for RemotingAction<TRemoting, TActionIo>
type Args = <TRemoting as Remoting>::Args
fn with_gas_limit(self, gas_limit: GasUnit) -> Self
fn with_value(self, value: ValueUnit) -> Self
fn with_args<F: FnOnce(Self::Args) -> Self::Args>(self, args_fn: F) -> Self
fn gas_limit(&self) -> Option<GasUnit>
fn value(&self) -> ValueUnit
fn args(&self) -> &Self::Args
Source§impl<TRemoting, TActionIo> Activation for RemotingAction<TRemoting, TActionIo>
impl<TRemoting, TActionIo> Activation for RemotingAction<TRemoting, TActionIo>
Source§impl<TRemoting, TActionIo> Call for RemotingAction<TRemoting, TActionIo>
impl<TRemoting, TActionIo> Call for RemotingAction<TRemoting, TActionIo>
Auto Trait Implementations§
impl<TRemoting, TActionIo> Freeze for RemotingAction<TRemoting, TActionIo>
impl<TRemoting, TActionIo> RefUnwindSafe for RemotingAction<TRemoting, TActionIo>where
TRemoting: RefUnwindSafe,
<TActionIo as ActionIo>::Params: RefUnwindSafe,
<TRemoting as Remoting>::Args: RefUnwindSafe,
impl<TRemoting, TActionIo> Send for RemotingAction<TRemoting, TActionIo>
impl<TRemoting, TActionIo> Sync for RemotingAction<TRemoting, TActionIo>
impl<TRemoting, TActionIo> Unpin for RemotingAction<TRemoting, TActionIo>
impl<TRemoting, TActionIo> UnwindSafe for RemotingAction<TRemoting, TActionIo>where
TRemoting: UnwindSafe,
<TActionIo as ActionIo>::Params: UnwindSafe,
<TRemoting as Remoting>::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
Source§impl<T> WithArgs for T
impl<T> WithArgs for T
Source§fn with_redirect_on_exit(self, redirect_on_exit: bool) -> T
fn with_redirect_on_exit(self, redirect_on_exit: bool) -> T
Set redirect_on_exit flag to `true``
This flag is used to redirect a message to a new program when the target program exits with an inheritor.
WARNING: When this flag is set, the message future captures the payload and other arguments, potentially resulting in multiple messages being sent. This can lead to increased gas consumption.
This flag is set to `false`` by default.