Trait TxEnvOverrides

Source
pub trait TxEnvOverrides {
    // Required method
    fn apply(&mut self, env: &mut TxEnv);
}
Expand description

Function hook that allows to modify a transaction environment.

Required Methods§

Source

fn apply(&mut self, env: &mut TxEnv)

Apply the overrides by modifying the given TxEnv.

Implementors§

Source§

impl<F> TxEnvOverrides for F
where F: FnMut(&mut TxEnv),