Trait Hardfork
pub trait Hardfork:
Any
+ DynClone
+ Send
+ Sync
+ 'static {
// Required method
fn name(&self) -> &'static str;
// Provided method
fn boxed(&self) -> Box<dyn Hardfork + '_> { ... }
}Available on crate feature
node-api only.Expand description
Generic hardfork trait.
Required Methods§
Provided Methods§
Trait Implementations§
impl Eq for dyn Hardfork
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".