Struct merkle_search_tree::digest::RootHash
source · pub struct RootHash(_);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).
Methods from Deref<Target = Digest<16>>§
Trait Implementations§
source§impl PartialEq<RootHash> for RootHash
impl PartialEq<RootHash> for RootHash
impl Eq for RootHash
impl StructuralEq for RootHash
impl StructuralPartialEq for RootHash
Auto Trait Implementations§
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