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 ==
.source§impl Readable for HTLCUpdate
impl Readable for HTLCUpdate
source§impl Writeable for HTLCUpdate
impl Writeable for HTLCUpdate
impl Eq for HTLCUpdate
impl StructuralEq for HTLCUpdate
impl StructuralPartialEq for HTLCUpdate
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§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more