Trait ContextSetters

Source
pub trait ContextSetters: ContextTr {
    // Required methods
    fn set_tx(&mut self, tx: Self::Tx);
    fn set_block(&mut self, block: Self::Block);
}
Expand description

Trait for setting the transaction and block in the context.

Required Methods§

Source

fn set_tx(&mut self, tx: Self::Tx)

Set the transaction

Source

fn set_block(&mut self, block: Self::Block)

Set the block

Implementors§