[][src]Struct lnpbp::dbc::spk::SpkCommitment

pub struct SpkCommitment(_);

PubkeyScript containing LNPBP-2 commitment

Trait Implementations

impl AsMut<<SpkCommitment as Wrapper>::Inner> for SpkCommitment[src]

impl AsRef<<SpkCommitment as Wrapper>::Inner> for SpkCommitment[src]

impl Borrow<<SpkCommitment as Wrapper>::Inner> for SpkCommitment[src]

impl BorrowMut<<SpkCommitment as Wrapper>::Inner> for SpkCommitment[src]

impl Clone for SpkCommitment[src]

impl Debug for SpkCommitment[src]

impl Default for SpkCommitment[src]

impl Deref for SpkCommitment[src]

type Target = Self::Inner

The resulting type after dereferencing.

impl DerefMut for SpkCommitment[src]

impl Display for SpkCommitment[src]

impl<MSG> EmbedCommitVerify<MSG> for SpkCommitment where
    MSG: AsRef<[u8]>, 
[src]

type Container = SpkContainer

External container type that will be used to host commitment to a message Read more

type Error = Error

Error type that may be reported during [commit_embed] procedure

impl Eq for SpkCommitment[src]

impl From<PubkeyScript> for SpkCommitment[src]

impl Hash for SpkCommitment[src]

impl LowerHex for SpkCommitment[src]

impl Ord for SpkCommitment[src]

impl PartialEq<SpkCommitment> for SpkCommitment[src]

impl PartialOrd<SpkCommitment> for SpkCommitment[src]

impl StructuralEq for SpkCommitment[src]

impl StructuralPartialEq for SpkCommitment[src]

impl UpperHex for SpkCommitment[src]

impl Wrapper for SpkCommitment[src]

type Inner = PubkeyScript

Inner type wrapped by the current newtype

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToHex for T where
    T: LowerHex
[src]

pub fn to_hex(&self) -> String[src]

Outputs the hash in hexadecimal form

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.