Struct merkle_search_tree::Page
source · pub struct Page<const N: usize, K> { /* private fields */ }Expand description
A group of Node instances at the same location within the tree.
A page within an MST is a probabilistically sized structure, with varying
numbers of Node within. A page has a min/max key range defined by the
nodes within it, and the page hash acts as a content hash, describing the
state of the page and the nodes within it.
Implementations§
source§impl<const N: usize, K> Page<N, K>
impl<const N: usize, K> Page<N, K>
Trait Implementations§
source§impl<const N: usize, K: PartialEq> PartialEq<Page<N, K>> for Page<N, K>
impl<const N: usize, K: PartialEq> PartialEq<Page<N, K>> for Page<N, K>
impl<const N: usize, K: Eq> Eq for Page<N, K>
impl<const N: usize, K> StructuralEq for Page<N, K>
impl<const N: usize, K> StructuralPartialEq for Page<N, K>
Auto Trait Implementations§
impl<const N: usize, K> RefUnwindSafe for Page<N, K>where K: RefUnwindSafe,
impl<const N: usize, K> Send for Page<N, K>where K: Send,
impl<const N: usize, K> Sync for Page<N, K>where K: Sync,
impl<const N: usize, K> Unpin for Page<N, K>where K: Unpin,
impl<const N: usize, K> UnwindSafe for Page<N, K>where K: UnwindSafe,
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