Struct cfx_storage::TrieProofNode
source · pub struct TrieProofNode(/* private fields */);
Implementations§
source§impl TrieProofNode
impl TrieProofNode
pub fn new( children_table: VanillaChildrenTable<MerkleHash>, maybe_value: Option<Box<[u8]>>, compressed_path: CompressedPathRaw, path_without_first_nibble: bool ) -> Self
Trait Implementations§
source§impl Clone for TrieProofNode
impl Clone for TrieProofNode
source§fn clone(&self) -> TrieProofNode
fn clone(&self) -> TrieProofNode
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for TrieProofNode
impl Debug for TrieProofNode
source§impl Decodable for TrieProofNode
impl Decodable for TrieProofNode
source§impl Default for TrieProofNode
impl Default for TrieProofNode
source§fn default() -> TrieProofNode
fn default() -> TrieProofNode
Returns the “default value” for a type. Read more
source§impl DerefMut for TrieProofNode
impl DerefMut for TrieProofNode
source§impl<'de> Deserialize<'de> for TrieProofNode
impl<'de> Deserialize<'de> for TrieProofNode
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl Encodable for TrieProofNode
impl Encodable for TrieProofNode
source§impl PartialEq for TrieProofNode
impl PartialEq for TrieProofNode
source§fn eq(&self, other: &TrieProofNode) -> bool
fn eq(&self, other: &TrieProofNode) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for TrieProofNode
impl Serialize for TrieProofNode
source§impl Deref for TrieProofNode
impl Deref for TrieProofNode
impl StructuralPartialEq for TrieProofNode
Auto Trait Implementations§
impl RefUnwindSafe for TrieProofNode
impl Send for TrieProofNode
impl Sync for TrieProofNode
impl Unpin for TrieProofNode
impl UnwindSafe for TrieProofNode
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