pub trait WeightInfo {
// Required method
fn transact(btc_tx: &Transaction) -> Weight;
}
Expand description
Weight functions needed for pallet_bitcoin
.
Required Methods§
Sourcefn transact(btc_tx: &Transaction) -> Weight
fn transact(btc_tx: &Transaction) -> Weight
Calculates the weight of Call::transact
.
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.