pub trait GenericTransaction: Sized {
// Required methods
fn is_fee_transfer(&self) -> bool;
fn is_coinbase(&self) -> bool;
fn is_command(&self) -> bool;
}
Required Methods§
fn is_fee_transfer(&self) -> bool
fn is_coinbase(&self) -> bool
fn is_command(&self) -> bool
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.