pub trait Sigops {
// Required method
fn scripts(&self) -> impl Iterator<Item = &[u8]>;
// Provided method
fn sigops(&self) -> Result<u32, Error> { ... }
}
Expand description
Trait for counting the number of transparent signature operations in the transparent inputs and outputs of a transaction.
Required Methods§
Provided Methods§
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.