pub struct BlockView {
pub index: usize,
pub offset: u64,
pub header: TableBlockHeader,
pub entries: Vec<EntryView>,
pub next_offset: u64,
pub stored_table_hash: [u8; 64],
pub table_hash_ok: Option<bool>,
}Expand description
One table block as physically found in the chain.
Fields§
§index: usize§offset: u64§header: TableBlockHeader§entries: Vec<EntryView>§next_offset: u64§stored_table_hash: [u8; 64]§table_hash_ok: Option<bool>Some(true/false) when recomputable; None if the algorithm is None
or the block’s entries could not all be parsed.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for BlockView
impl RefUnwindSafe for BlockView
impl Send for BlockView
impl Sync for BlockView
impl Unpin for BlockView
impl UnsafeUnpin for BlockView
impl UnwindSafe for BlockView
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more