[][src]Struct lnpbp::bp::dbc::pubkey::PubkeyCommitment

pub struct PubkeyCommitment(_);

Public key committed to some message via LNPBP1-based tweaking procedure

Trait Implementations

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

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

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

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

impl Clone for PubkeyCommitment[src]

impl Debug for PubkeyCommitment[src]

impl Deref for PubkeyCommitment[src]

type Target = Self::Inner

The resulting type after dereferencing.

impl DerefMut for PubkeyCommitment[src]

impl Display for PubkeyCommitment[src]

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

type Container = PubkeyContainer

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 PubkeyCommitment[src]

impl From<PublicKey> for PubkeyCommitment[src]

impl FromStr for PubkeyCommitment[src]

type Err = <Self::Inner as FromStr>::Err

The associated error which can be returned from parsing.

impl Hash for PubkeyCommitment[src]

impl LowerHex for PubkeyCommitment[src]

impl PartialEq<PubkeyCommitment> for PubkeyCommitment[src]

impl StructuralEq for PubkeyCommitment[src]

impl StructuralPartialEq for PubkeyCommitment[src]

impl Wrapper for PubkeyCommitment[src]

type Inner = PublicKey

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> Same<T> for T

type Output = T

Should always be Self

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

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

Outputs the hash in hexadecimal form

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.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,