Struct diem_sdk::types::proof::AccumulatorExtensionProof
pub struct AccumulatorExtensionProof<H> { /* private fields */ }
Expand description
A proof that first verifies that establishes correct computation of the root and then returns the new tree to acquire a new root and version.
Implementations§
§impl<H> AccumulatorExtensionProof<H>where
H: CryptoHasher,
impl<H> AccumulatorExtensionProof<H>where H: CryptoHasher,
Trait Implementations§
§impl<H> Clone for AccumulatorExtensionProof<H>where
H: Clone,
impl<H> Clone for AccumulatorExtensionProof<H>where H: Clone,
§fn clone(&self) -> AccumulatorExtensionProof<H>
fn clone(&self) -> AccumulatorExtensionProof<H>
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 more§impl<H> Debug for AccumulatorExtensionProof<H>where
H: Debug,
impl<H> Debug for AccumulatorExtensionProof<H>where H: Debug,
§impl<'de, H> Deserialize<'de> for AccumulatorExtensionProof<H>
impl<'de, H> Deserialize<'de> for AccumulatorExtensionProof<H>
§fn deserialize<__D>(
__deserializer: __D
) -> Result<AccumulatorExtensionProof<H>, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>( __deserializer: __D ) -> Result<AccumulatorExtensionProof<H>, <__D as Deserializer<'de>>::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
§impl<H> PartialEq<AccumulatorExtensionProof<H>> for AccumulatorExtensionProof<H>where
H: PartialEq<H>,
impl<H> PartialEq<AccumulatorExtensionProof<H>> for AccumulatorExtensionProof<H>where H: PartialEq<H>,
§fn eq(&self, other: &AccumulatorExtensionProof<H>) -> bool
fn eq(&self, other: &AccumulatorExtensionProof<H>) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.§impl<H> Serialize for AccumulatorExtensionProof<H>
impl<H> Serialize for AccumulatorExtensionProof<H>
§fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>( &self, __serializer: __S ) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where __S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl<H> Eq for AccumulatorExtensionProof<H>where H: Eq,
impl<H> StructuralEq for AccumulatorExtensionProof<H>
impl<H> StructuralPartialEq for AccumulatorExtensionProof<H>
Auto Trait Implementations§
impl<H> RefUnwindSafe for AccumulatorExtensionProof<H>where H: RefUnwindSafe,
impl<H> Send for AccumulatorExtensionProof<H>where H: Send,
impl<H> Sync for AccumulatorExtensionProof<H>where H: Sync,
impl<H> Unpin for AccumulatorExtensionProof<H>where H: Unpin,
impl<H> UnwindSafe for AccumulatorExtensionProof<H>where H: UnwindSafe,
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.source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
§impl<T> TestOnlyHash for Twhere
T: Serialize + ?Sized,
impl<T> TestOnlyHash for Twhere T: Serialize + ?Sized,
§fn test_only_hash(&self) -> HashValue
fn test_only_hash(&self) -> HashValue
Generates a hash used only for tests.