WithArgs

Trait WithArgs 

Source
pub trait WithArgs {
    // Required methods
    fn with_wait_up_to(self, wait_up_to: Option<BlockCount>) -> Self;
    fn with_reply_deposit(self, reply_deposit: Option<GasUnit>) -> Self;
    fn with_reply_hook<F: FnOnce() + Send + 'static>(self, f: F) -> Self;
    fn with_redirect_on_exit(self, redirect_on_exit: bool) -> Self;
}

Required Methods§

Source

fn with_wait_up_to(self, wait_up_to: Option<BlockCount>) -> Self

Source

fn with_reply_deposit(self, reply_deposit: Option<GasUnit>) -> Self

Source

fn with_reply_hook<F: FnOnce() + Send + 'static>(self, f: F) -> Self

Source

fn with_redirect_on_exit(self, redirect_on_exit: bool) -> Self

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§

Source§

impl<T> WithArgs for T
where T: Action<Args = GStdArgs>,