Struct lightning::chain::channelmonitor::HTLCUpdate [−][src]
pub struct HTLCUpdate { /* fields omitted */ }
Expand description
Simple structure sent back by chain::Watch
when an HTLC from a forward channel is detected on
chain. Used to update the corresponding HTLC in the backward channel. Failing to pass the
preimage claim backward will lead to loss of funds.
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Writes self out to the given Writer
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
Writes self out to a Vec
Auto Trait Implementations
impl RefUnwindSafe for HTLCUpdate
impl Send for HTLCUpdate
impl Sync for HTLCUpdate
impl Unpin for HTLCUpdate
impl UnwindSafe for HTLCUpdate
Blanket Implementations
Mutably borrows from an owned value. Read more