pub trait TestableBlock<TYPES: NodeType>: BlockPayload<TYPES> + Debug {
// Required methods
fn genesis() -> Self;
fn txn_count(&self) -> u64;
}
Expand description
extra functions required on block to be usable by hotshot-testing
Required 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.