[−][src]Struct lnpbp::lnpbp4::MultimsgCommitment
Multimessage commitment data according to LNPBP-4 specification
Fields
commitments: Vec<MultimsgCommitmentItem>
entropy: Option<u64>
Trait Implementations
impl Clone for MultimsgCommitment
[src]
pub fn clone(&self) -> MultimsgCommitment
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for MultimsgCommitment
[src]
impl Default for MultimsgCommitment
[src]
pub fn default() -> MultimsgCommitment
[src]
impl Display for MultimsgCommitment
[src]
impl Eq for MultimsgCommitment
[src]
impl Ord for MultimsgCommitment
[src]
pub fn cmp(&self, other: &MultimsgCommitment) -> Ordering
[src]
#[must_use]pub fn max(self, other: Self) -> Self
1.21.0[src]
#[must_use]pub fn min(self, other: Self) -> Self
1.21.0[src]
#[must_use]pub fn clamp(self, min: Self, max: Self) -> Self
1.50.0[src]
impl PartialEq<MultimsgCommitment> for MultimsgCommitment
[src]
pub fn eq(&self, other: &MultimsgCommitment) -> bool
[src]
pub fn ne(&self, other: &MultimsgCommitment) -> bool
[src]
impl PartialOrd<MultimsgCommitment> for MultimsgCommitment
[src]
pub fn partial_cmp(&self, other: &MultimsgCommitment) -> Option<Ordering>
[src]
pub fn lt(&self, other: &MultimsgCommitment) -> bool
[src]
pub fn le(&self, other: &MultimsgCommitment) -> bool
[src]
pub fn gt(&self, other: &MultimsgCommitment) -> bool
[src]
pub fn ge(&self, other: &MultimsgCommitment) -> bool
[src]
impl StrictDecode for MultimsgCommitment
[src]
type Error = Error
Implementation-dependent error type
pub fn strict_decode<D: Read>(d: D) -> Result<Self, Self::Error>
[src]
impl StrictEncode for MultimsgCommitment
[src]
type Error = Error
Implementation-dependent error type
pub fn strict_encode<E: Write>(&self, e: E) -> Result<usize, Self::Error>
[src]
impl StructuralEq for MultimsgCommitment
[src]
impl StructuralPartialEq for MultimsgCommitment
[src]
impl TryCommitVerify<BTreeMap<Hash, Hash>> for MultimsgCommitment
[src]
type Error = TooManyMessagesError
Error type that may be reported during [commit] and [verify] procedures
pub fn try_commit(multimsg: &MultiMsg) -> Result<Self, TooManyMessagesError>
[src]
pub fn try_verify(&self, msg: &MSG) -> Result<bool, Self::Error>
[src]
Auto Trait Implementations
impl RefUnwindSafe for MultimsgCommitment
impl Send for MultimsgCommitment
impl Sync for MultimsgCommitment
impl Unpin for MultimsgCommitment
impl UnwindSafe for MultimsgCommitment
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,