Struct lightning::chain::channelmonitor::HTLCUpdate
source · pub struct HTLCUpdate { /* private fields */ }
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§
source§impl Clone for HTLCUpdate
impl Clone for HTLCUpdate
source§fn clone(&self) -> HTLCUpdate
fn clone(&self) -> HTLCUpdate
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl PartialEq<HTLCUpdate> for HTLCUpdate
impl PartialEq<HTLCUpdate> for HTLCUpdate
source§fn eq(&self, other: &HTLCUpdate) -> bool
fn eq(&self, other: &HTLCUpdate) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.