pub struct NodeMerkleProof {
pub delta_proof: Option<TrieProof>,
pub intermediate_proof: Option<TrieProof>,
pub snapshot_proof: Option<TrieProof>,
}Fields§
§delta_proof: Option<TrieProof>§intermediate_proof: Option<TrieProof>§snapshot_proof: Option<TrieProof>Implementations§
Source§impl NodeMerkleProof
impl NodeMerkleProof
pub fn with_delta(&mut self, maybe_delta_proof: Option<TrieProof>) -> &mut Self
pub fn with_intermediate( &mut self, maybe_intermediate_proof: Option<TrieProof>, ) -> &mut Self
pub fn with_snapshot( &mut self, maybe_snapshot_proof: Option<TrieProof>, ) -> &mut Self
pub fn is_valid( &self, key: &Vec<u8>, storage_root: &StorageRoot, state_root: StateRoot, maybe_intermediate_padding: Option<DeltaMptKeyPadding>, ) -> bool
Trait Implementations§
Source§impl Clone for NodeMerkleProof
impl Clone for NodeMerkleProof
Source§impl Debug for NodeMerkleProof
impl Debug for NodeMerkleProof
Source§impl Decodable for NodeMerkleProof
impl Decodable for NodeMerkleProof
Source§impl Default for NodeMerkleProof
impl Default for NodeMerkleProof
Source§impl Encodable for NodeMerkleProof
impl Encodable for NodeMerkleProof
Source§fn rlp_append(&self, stream: &mut RlpStream)
fn rlp_append(&self, stream: &mut RlpStream)
Append a value to the stream
Source§impl PartialEq for NodeMerkleProof
impl PartialEq for NodeMerkleProof
impl StructuralPartialEq for NodeMerkleProof
Auto Trait Implementations§
impl Forget for NodeMerkleProof
impl Freeze for NodeMerkleProof
impl Move for NodeMerkleProof
impl RefUnwindSafe for NodeMerkleProof
impl Send for NodeMerkleProof
impl Sync for NodeMerkleProof
impl Unpin for NodeMerkleProof
impl UnsafeUnpin for NodeMerkleProof
impl UnwindSafe for NodeMerkleProof
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