Trait ConvertTx
pub trait ConvertTx<RawTx>:
Send
+ Sync
+ 'static {
type Tx;
type Error;
// Required method
fn convert(&self, raw: RawTx) -> Result<Self::Tx, Self::Error>;
}Available on crate feature
std only.Expand description
Converts a raw transaction into an executable transaction.
This trait abstracts the conversion logic (e.g., decoding, signature recovery) that is parallelized in the engine.
Required Associated Types§
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".