Trait ckb_types::prelude::IntoBlockView
source · 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.
Object Safety§
This trait is not object safe.