[−][src]Struct lnpbp::bp::hlc::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]
fn borrow_mut(&mut self) -> &mut Self::Inner
[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.
fn deref(&self) -> &Self::Target
[src]
impl DerefMut for HashLock
[src]
impl Display for HashLock
[src]
impl Eq for HashLock
[src]
impl From<HashPreimage> for HashLock
[src]
fn from(preimage: HashPreimage) -> Self
[src]
impl From<Slice32> for HashLock
[src]
impl FromHex for HashLock
[src]
fn from_byte_iter<I>(iter: I) -> Result<Self, Error> where
I: Iterator<Item = Result<u8, Error>> + ExactSizeIterator + DoubleEndedIterator,
[src]
I: Iterator<Item = Result<u8, Error>> + ExactSizeIterator + DoubleEndedIterator,
fn from_hex(s: &str) -> Result<Self, Error>
[src]
impl FromStr for HashLock
[src]
type Err = <Self::Inner as FromStr>::Err
The associated error which can be returned from parsing.
fn from_str(s: &str) -> Result<Self, Self::Err>
[src]
impl Hash for HashLock
[src]
fn hash<__H: Hasher>(&self, state: &mut __H)
[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
impl LowerHex for HashLock
[src]
impl Ord for HashLock
[src]
fn cmp(&self, other: &HashLock) -> Ordering
[src]
#[must_use]fn max(self, other: Self) -> Self
1.21.0[src]
#[must_use]fn min(self, other: Self) -> Self
1.21.0[src]
#[must_use]fn clamp(self, min: Self, max: Self) -> Self
[src]
impl PartialEq<HashLock> for HashLock
[src]
impl PartialOrd<HashLock> for HashLock
[src]
fn partial_cmp(&self, other: &HashLock) -> Option<Ordering>
[src]
fn lt(&self, other: &HashLock) -> bool
[src]
fn le(&self, other: &HashLock) -> bool
[src]
fn gt(&self, other: &HashLock) -> bool
[src]
fn ge(&self, other: &HashLock) -> bool
[src]
impl StrictDecode for HashLock
[src]
type Error = Error
Implementation-dependent error type
fn strict_decode<D: Read>(d: D) -> Result<Self, Self::Error>
[src]
impl StrictEncode for HashLock
[src]
type Error = Error
Implementation-dependent error type
fn strict_encode<E: Write>(&self, e: E) -> Result<usize, Self::Error>
[src]
impl StructuralEq for HashLock
[src]
impl StructuralPartialEq for HashLock
[src]
impl UpperHex for HashLock
[src]
impl Wrapper for HashLock
[src]
Auto Trait Implementations
impl RefUnwindSafe for HashLock
impl Send for HashLock
impl Sync for HashLock
impl Unpin for HashLock
impl UnwindSafe for HashLock
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Base32Len for T where
T: AsRef<[u8]>,
[src]
T: AsRef<[u8]>,
pub fn base32_len(&self) -> usize
[src]
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<'f, T> CheckBase32<Vec<u5>> for T where
T: AsRef<[u8]>,
[src]
T: AsRef<[u8]>,
type Err = Error
Error type if conversion fails
pub fn check_base32(self) -> Result<Vec<u5>, <T as CheckBase32<Vec<u5>>>::Err>
[src]
impl<T> From<T> for T
[src]
impl<T> FromHex for T where
T: Hash,
[src]
T: Hash,
pub fn from_byte_iter<I>(iter: I) -> Result<T, Error> where
I: Iterator<Item = Result<u8, Error>> + ExactSizeIterator + DoubleEndedIterator,
[src]
I: Iterator<Item = Result<u8, Error>> + ExactSizeIterator + DoubleEndedIterator,
fn from_hex(s: &str) -> Result<Self, Error>
[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> ToBase32 for T where
T: AsRef<[u8]>,
[src]
T: AsRef<[u8]>,
pub fn write_base32<W>(
&self,
writer: &mut W
) -> Result<(), <W as WriteBase32>::Err> where
W: WriteBase32,
[src]
&self,
writer: &mut W
) -> Result<(), <W as WriteBase32>::Err> where
W: WriteBase32,
fn to_base32(&self) -> Vec<u5>ⓘ
[src]
impl<T> ToHex for T where
T: AsRef<[u8]>,
[src]
T: AsRef<[u8]>,
pub fn encode_hex<U>(&self) -> U where
U: FromIterator<char>,
[src]
U: FromIterator<char>,
pub fn encode_hex_upper<U>(&self) -> U where
U: FromIterator<char>,
[src]
U: FromIterator<char>,
impl<T> ToHex for T where
T: LowerHex,
[src]
T: LowerHex,
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>,
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>,