[][src]Struct lnpbp::bp::hlc::HashLock

pub struct HashLock(_);

HTLC payment hash

Trait Implementations

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

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

impl AsRef<[u8]> for HashLock[src]

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

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

impl Clone for HashLock[src]

impl Copy for HashLock[src]

impl Debug for HashLock[src]

impl Deref for HashLock[src]

type Target = Self::Inner

The resulting type after dereferencing.

impl DerefMut for HashLock[src]

impl Display for HashLock[src]

impl Eq for HashLock[src]

impl From<HashPreimage> for HashLock[src]

impl From<Slice32> for HashLock[src]

impl FromHex for HashLock[src]

impl FromStr for HashLock[src]

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

The associated error which can be returned from parsing.

impl Hash for HashLock[src]

impl LowerHex for HashLock[src]

impl Ord for HashLock[src]

impl PartialEq<HashLock> for HashLock[src]

impl PartialOrd<HashLock> for HashLock[src]

impl StrictDecode for HashLock[src]

type Error = Error

Implementation-dependent error type

impl StrictEncode for HashLock[src]

type Error = Error

Implementation-dependent error type

impl StructuralEq for HashLock[src]

impl StructuralPartialEq for HashLock[src]

impl UpperHex for HashLock[src]

impl Wrapper for HashLock[src]

type Inner = Slice32

Inner type wrapped by the current newtype

Auto Trait Implementations

Blanket Implementations

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

impl<T> Base32Len for T where
    T: AsRef<[u8]>, 
[src]

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

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

impl<'f, T> CheckBase32<Vec<u5>> for T where
    T: AsRef<[u8]>, 
[src]

type Err = Error

Error type if conversion fails

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

impl<T> FromHex for T where
    T: Hash
[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> ToBase32 for T where
    T: AsRef<[u8]>, 
[src]

impl<T> ToHex for T where
    T: AsRef<[u8]>, 
[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> 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>,