Struct diem_jellyfish_merkle::NodeStats
source · pub struct NodeStats {
pub new_nodes: usize,
pub new_leaves: usize,
pub stale_nodes: usize,
pub stale_leaves: usize,
}
Fields§
§new_nodes: usize
§new_leaves: usize
§stale_nodes: usize
§stale_leaves: usize
Trait Implementations§
source§impl PartialEq<NodeStats> for NodeStats
impl PartialEq<NodeStats> for NodeStats
impl Eq for NodeStats
impl StructuralEq for NodeStats
impl StructuralPartialEq for NodeStats
Auto Trait Implementations§
impl RefUnwindSafe for NodeStats
impl Send for NodeStats
impl Sync for NodeStats
impl Unpin for NodeStats
impl UnwindSafe for NodeStats
Blanket Implementations§
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.