pub struct Header {
pub value_size: u16,
pub fanout: u16,
pub node_size: u32,
pub root: u64,
pub height: u32,
pub leftmost: u64,
pub rightmost: u64,
pub structure_epoch: u64,
pub authority: Pubkey,
}Expand description
Parsed, cache-relevant header fields.
Fields§
§value_size: u16§fanout: u16§node_size: u32§root: u64§height: u32§leftmost: u64§rightmost: u64§structure_epoch: u64bumped ONLY on a structural change (split/merge/root). A stable epoch between resolve and submit means the cached path is still valid; a change means re-resolve.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Header
impl RefUnwindSafe for Header
impl Send for Header
impl Sync for Header
impl Unpin for Header
impl UnsafeUnpin for Header
impl UnwindSafe for Header
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