pub struct RootHash(/* private fields */);
Expand description
The root hash of a MerkleSearchTree
, representative of the state of the
tree.
Two instances of a MerkleSearchTree
are guaranteed to contain the same
state iff both RootHash
read from the trees are identical (assuming
identical, deterministic Hasher
implementations).
Trait Implementations§
impl Eq for RootHash
impl StructuralPartialEq for RootHash
Auto Trait Implementations§
impl Freeze for RootHash
impl RefUnwindSafe for RootHash
impl Send for RootHash
impl Sync for RootHash
impl Unpin for RootHash
impl UnwindSafe for RootHash
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