[−][src]Struct lnpbp::dbc::pubkey::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]
pub fn borrow_mut(&mut self) -> &mut Self::Inner
[src]
impl Clone for PubkeyCommitment
[src]
pub fn clone(&self) -> PubkeyCommitment
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for PubkeyCommitment
[src]
impl Deref for PubkeyCommitment
[src]
type Target = Self::Inner
The resulting type after dereferencing.
pub fn deref(&self) -> &Self::Target
[src]
impl DerefMut for PubkeyCommitment
[src]
impl Display for PubkeyCommitment
[src]
impl<MSG> EmbedCommitVerify<MSG> for PubkeyCommitment where
MSG: AsRef<[u8]>,
[src]
MSG: AsRef<[u8]>,
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
pub fn embed_commit(
pubkey_container: &mut Self::Container,
msg: &MSG
) -> Result<Self, Self::Error>
[src]
pubkey_container: &mut Self::Container,
msg: &MSG
) -> Result<Self, Self::Error>
pub fn verify(
&self,
container: &Self::Container,
msg: &MSG
) -> Result<bool, Self::Error>
[src]
&self,
container: &Self::Container,
msg: &MSG
) -> Result<bool, Self::Error>
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.
pub fn from_str(s: &str) -> Result<Self, Self::Err>
[src]
impl Hash for PubkeyCommitment
[src]
pub fn hash<__H: Hasher>(&self, state: &mut __H)
[src]
pub fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
impl LowerHex for PubkeyCommitment
[src]
impl PartialEq<PubkeyCommitment> for PubkeyCommitment
[src]
pub fn eq(&self, other: &PubkeyCommitment) -> bool
[src]
pub fn ne(&self, other: &PubkeyCommitment) -> bool
[src]
impl StructuralEq for PubkeyCommitment
[src]
impl StructuralPartialEq for PubkeyCommitment
[src]
impl Wrapper for PubkeyCommitment
[src]
Auto Trait Implementations
impl RefUnwindSafe for PubkeyCommitment
[src]
impl Send for PubkeyCommitment
[src]
impl Sync for PubkeyCommitment
[src]
impl Unpin for PubkeyCommitment
[src]
impl UnwindSafe for PubkeyCommitment
[src]
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> ToHex for T where
T: LowerHex,
[src]
T: LowerHex,
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>,