pub trait TxEnvWithTxHash: TxEnv {
// Required methods
fn set_tx_hash(&mut self, tx_hash: H256);
fn take_tx_hash(&mut self) -> Option<H256>;
}
Required Methods§
fn set_tx_hash(&mut self, tx_hash: H256)
Sourcefn take_tx_hash(&mut self) -> Option<H256>
fn take_tx_hash(&mut self) -> Option<H256>
Retrieves current tx hash, while resetting it in 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.