Struct commit_verify::merkle::MerkleSource [−][src]
pub struct MerkleSource<T>(pub Vec<T>);Expand description
The source data for the LNPBP-81 merklization process.
Tuple Fields
0: Vec<T>Array of the data which will be merklized
Trait Implementations
type Commitment = MerkleNode
type Commitment = MerkleNode
Type of the resulting commitment
Performs commitment to client-side-validated data
Verifies commitment to client-side-validated data
Returns the “default value” for a type. Read more
Creates a value from an iterator. Read more
This method tests for self and other values to be equal, and is used
by ==. Read more
This method tests for !=.
This method returns an ordering between self and other values if one exists. Read more
This method tests less than (for self and other) and is used by the < operator. Read more
This method tests less than or equal to (for self and other) and is used by the <=
operator. Read more
This method tests greater than (for self and other) and is used by the > operator. Read more
Auto Trait Implementations
impl<T> RefUnwindSafe for MerkleSource<T> where
T: RefUnwindSafe,
impl<T> Send for MerkleSource<T> where
T: Send,
impl<T> Sync for MerkleSource<T> where
T: Sync,
impl<T> Unpin for MerkleSource<T> where
T: Unpin,
impl<T> UnwindSafe for MerkleSource<T> where
T: UnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more