MCPcopy Create free account
hub / github.com/base/triedb / Pointer

Class Pointer

src/pointer.rs:16–20  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

14/// This is a wrapper around a [Location] and an [RlpNode].
15#[derive(Debug, Clone, PartialEq, Eq, Arbitrary)]
16pub struct Pointer {
17 location: Location,
18 #[proptest(strategy = "u256_or_hash()")]
19 rlp: RlpNode,
20}
21
22impl Pointer {
23 /// Creates a new [Pointer] from a [Location] and an [RlpNode].

Callers 1

push_pointerMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected