Struct lightning::ln::PaymentSecret [−][src]
Expand description
payment_secret type, use to authenticate sender to the receiver and tie MPP HTLCs together (C-not exported) as we just use [u8; 32] directly
Trait Implementations
Calculate the base32 serialized length
type Err = Error
type Err = Error
The associated error which can be returned from parsing (e.g. because of bad padding).
Convert a base32 slice to Self
.
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Encode as base32 and write it to the supplied writer Implementations shouldn’t allocate. Read more
Writes self out to a Vec
Writes self out to a Vec
Gets the length of this object after it has been serialized. This can be overridden to optimize cases where we prepend an object with its length. Read more
Auto Trait Implementations
impl RefUnwindSafe for PaymentSecret
impl Send for PaymentSecret
impl Sync for PaymentSecret
impl Unpin for PaymentSecret
impl UnwindSafe for PaymentSecret
Blanket Implementations
Mutably borrows from an owned value. Read more