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 for HTLCUpdate
impl PartialEq for HTLCUpdate
Source§impl Readable for HTLCUpdate
impl Readable for HTLCUpdate
Source§impl Writeable for HTLCUpdate
impl Writeable for HTLCUpdate
impl Eq for HTLCUpdate
impl StructuralPartialEq for HTLCUpdate
Auto Trait Implementations§
impl Freeze for HTLCUpdate
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