pub struct MssmtProof {
pub nodes: Vec<MssmtNode>,
}Expand description
Represents a merkle proof for a MS-SMT.
Fields§
§nodes: Vec<MssmtNode>Siblings that should be hashed with the leaf and its parents to arrive at the root.
Implementations§
Source§impl MssmtProof
impl MssmtProof
pub fn decode_tlv<R: Read>(r: R) -> Result<Self, Error>
Trait Implementations§
Source§impl Clone for MssmtProof
impl Clone for MssmtProof
Source§fn clone(&self) -> MssmtProof
fn clone(&self) -> MssmtProof
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 MssmtProof
impl Debug for MssmtProof
Source§impl<'de> Deserialize<'de> for MssmtProof
impl<'de> Deserialize<'de> for MssmtProof
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
impl Eq for MssmtProof
Source§impl Hash for MssmtProof
impl Hash for MssmtProof
Source§impl PartialEq for MssmtProof
impl PartialEq for MssmtProof
Source§fn eq(&self, other: &MssmtProof) -> bool
fn eq(&self, other: &MssmtProof) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for MssmtProof
impl Serialize for MssmtProof
impl StructuralPartialEq for MssmtProof
Auto Trait Implementations§
impl Freeze for MssmtProof
impl RefUnwindSafe for MssmtProof
impl Send for MssmtProof
impl Sync for MssmtProof
impl Unpin for MssmtProof
impl UnsafeUnpin for MssmtProof
impl UnwindSafe for MssmtProof
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