pub trait IntoBlockView {
// Required methods
fn into_view_without_reset_header(self) -> BlockView;
fn into_view(self) -> BlockView;
fn block_into_view_internal(
block: Block,
tx_hashes: Vec<Byte32>,
tx_witness_hashes: Vec<Byte32>,
) -> BlockView;
}Expand description
Trait for converting types into BlockView.
Required Methods§
Sourcefn into_view_without_reset_header(self) -> BlockView
fn into_view_without_reset_header(self) -> BlockView
Converts the implementing type into a BlockView without resetting the header.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".