pub enum Leaf<'a> {
Occupied {
leaf: &'a [u8; 32],
},
Empty {
skip_count: u128,
},
}
Expand description
Sparse Merkle Tree Leaf
Variants§
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for Leaf<'a>
impl<'a> RefUnwindSafe for Leaf<'a>
impl<'a> Send for Leaf<'a>
impl<'a> Sync for Leaf<'a>
impl<'a> Unpin for Leaf<'a>
impl<'a> UnwindSafe for Leaf<'a>
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