pub trait TxInfoMapper<T> {
type Out;
type Err;
// Required method
fn try_map(
&self,
tx: &T,
tx_info: TransactionInfo,
) -> Result<Self::Out, Self::Err>;
}
Expand description
Adds extra context to [TransactionInfo
].