Struct commit_verify::multi_commit::MultiCommitment [−][src]
pub struct MultiCommitment(_);
Expand description
Final LNPBP-4 commitment value.
Represents tagged hash (with Lnpbp4Tag
) of the sequentially serialized
MultiCommitBlock::commitments
.
Trait Implementations
impl AsMut<<MultiCommitment as Wrapper>::Inner> for MultiCommitment
[src]
impl AsMut<<MultiCommitment as Wrapper>::Inner> for MultiCommitment
[src]impl AsRef<<MultiCommitment as Wrapper>::Inner> for MultiCommitment
[src]
impl AsRef<<MultiCommitment as Wrapper>::Inner> for MultiCommitment
[src]impl Borrow<<MultiCommitment as Wrapper>::Inner> for MultiCommitment
[src]
impl Borrow<<MultiCommitment as Wrapper>::Inner> for MultiCommitment
[src]impl BorrowMut<<MultiCommitment as Wrapper>::Inner> for MultiCommitment
[src]
impl BorrowMut<<MultiCommitment as Wrapper>::Inner> for MultiCommitment
[src]fn borrow_mut(&mut self) -> &mut Self::Inner
[src]
fn borrow_mut(&mut self) -> &mut Self::Inner
[src]Mutably borrows from an owned value. Read more
impl Clone for MultiCommitment
[src]
impl Clone for MultiCommitment
[src]fn clone(&self) -> MultiCommitment
[src]
fn clone(&self) -> MultiCommitment
[src]Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]Performs copy-assignment from source
. Read more
impl<M> CommitVerify<M> for MultiCommitment where
M: AsRef<[u8]>,
[src]
impl<M> CommitVerify<M> for MultiCommitment where
M: AsRef<[u8]>,
[src]impl Debug for MultiCommitment
[src]
impl Debug for MultiCommitment
[src]impl Default for MultiCommitment
[src]
impl Default for MultiCommitment
[src]fn default() -> MultiCommitment
[src]
fn default() -> MultiCommitment
[src]Returns the “default value” for a type. Read more
impl Deref for MultiCommitment
[src]
impl Deref for MultiCommitment
[src]impl DerefMut for MultiCommitment
[src]
impl DerefMut for MultiCommitment
[src]impl Display for MultiCommitment
[src]
impl Display for MultiCommitment
[src]impl From<Hash<Lnpbp4Tag>> for MultiCommitment
[src]
impl From<Hash<Lnpbp4Tag>> for MultiCommitment
[src]impl Hash for MultiCommitment
[src]
impl Hash for MultiCommitment
[src]impl Index<Range<usize>> for MultiCommitment
[src]
impl Index<Range<usize>> for MultiCommitment
[src]impl Index<RangeFrom<usize>> for MultiCommitment
[src]
impl Index<RangeFrom<usize>> for MultiCommitment
[src]impl Index<RangeFull> for MultiCommitment
[src]
impl Index<RangeFull> for MultiCommitment
[src]impl Index<RangeTo<usize>> for MultiCommitment
[src]
impl Index<RangeTo<usize>> for MultiCommitment
[src]impl Index<usize> for MultiCommitment
[src]
impl Index<usize> for MultiCommitment
[src]impl LowerHex for MultiCommitment
[src]
impl LowerHex for MultiCommitment
[src]impl Ord for MultiCommitment
[src]
impl Ord for MultiCommitment
[src]impl PartialEq<MultiCommitment> for MultiCommitment
[src]
impl PartialEq<MultiCommitment> for MultiCommitment
[src]fn eq(&self, other: &MultiCommitment) -> bool
[src]
fn eq(&self, other: &MultiCommitment) -> bool
[src]This method tests for self
and other
values to be equal, and is used
by ==
. Read more
fn ne(&self, other: &MultiCommitment) -> bool
[src]
fn ne(&self, other: &MultiCommitment) -> bool
[src]This method tests for !=
.
impl PartialOrd<MultiCommitment> for MultiCommitment
[src]
impl PartialOrd<MultiCommitment> for MultiCommitment
[src]fn partial_cmp(&self, other: &MultiCommitment) -> Option<Ordering>
[src]
fn partial_cmp(&self, other: &MultiCommitment) -> Option<Ordering>
[src]This method returns an ordering between self
and other
values if one exists. Read more
#[must_use]fn lt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]fn lt(&self, other: &Rhs) -> bool
1.0.0[src]This method tests less than (for self
and other
) and is used by the <
operator. Read more
#[must_use]fn le(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]fn le(&self, other: &Rhs) -> bool
1.0.0[src]This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
impl Strategy for MultiCommitment
[src]
impl Strategy for MultiCommitment
[src]type Strategy = UsingStrict
type Strategy = UsingStrict
Specific strategy. List of supported strategies: Read more
impl Strategy for MultiCommitment
[src]
impl Strategy for MultiCommitment
[src]impl Wrapper for MultiCommitment
[src]
impl Wrapper for MultiCommitment
[src]fn from_inner(inner: Self::Inner) -> Self
[src]
fn from_inner(inner: Self::Inner) -> Self
[src]Instantiates wrapper type with the inner data
fn as_inner(&self) -> &Self::Inner
[src]
fn as_inner(&self) -> &Self::Inner
[src]Returns reference to the inner representation for the wrapper type
fn as_inner_mut(&mut self) -> &mut Self::Inner
[src]
fn as_inner_mut(&mut self) -> &mut Self::Inner
[src]Returns a mutable reference to the inner representation for the wrapper type Read more
fn into_inner(self) -> Self::Inner
[src]
fn into_inner(self) -> Self::Inner
[src]Unwraps the wrapper returning the inner type
impl Copy for MultiCommitment
[src]
impl Eq for MultiCommitment
[src]
impl StructuralEq for MultiCommitment
[src]
impl StructuralPartialEq for MultiCommitment
[src]
Auto Trait Implementations
impl RefUnwindSafe for MultiCommitment
impl Send for MultiCommitment
impl Sync for MultiCommitment
impl Unpin for MultiCommitment
impl UnwindSafe for MultiCommitment
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<'a, U, T> TaggedHash<'a, T> for U where
T: 'a + Tag,
U: Wrapper<Inner = Hash<T>>,
[src]
impl<'a, U, T> TaggedHash<'a, T> for U where
T: 'a + Tag,
U: Wrapper<Inner = Hash<T>>,
[src]fn hash(msg: impl AsRef<[u8]>) -> Self where
Self: Sized,
[src]
fn hash(msg: impl AsRef<[u8]>) -> Self where
Self: Sized,
[src]Constructs tagged hash out of a given message data
fn from_hash<X>(hash: X) -> Self where
Self: Sized,
X: Hash<Inner = [u8; 32]>,
[src]
fn from_hash<X>(hash: X) -> Self where
Self: Sized,
X: Hash<Inner = [u8; 32]>,
[src]Constructs tagged hash out of other hash type. Read more
fn from_slice(slice: &[u8]) -> Result<Self, Error> where
Self: Sized,
[src]
fn from_slice(slice: &[u8]) -> Result<Self, Error> where
Self: Sized,
[src]Constructs tagged hash from byte slice. If slice length is not equal to
32 bytes, fails with Error::InvalidLength
(this is just a
wrapper for sha256t::Hash::from_slice
). Read more
impl<T> ToOwned for T where
T: Clone,
[src]
impl<T> ToOwned for T where
T: Clone,
[src]type Owned = T
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn to_owned(&self) -> T
[src]Creates owned data from borrowed data, usually by cloning. Read more
pub fn clone_into(&self, target: &mut T)
[src]
pub fn clone_into(&self, target: &mut T)
[src]🔬 This is a nightly-only experimental API. (toowned_clone_into
)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more