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§
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
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.