Enum lightning::ln::chan_utils::HTLCClaim
source · pub enum HTLCClaim {
OfferedTimeout,
OfferedPreimage,
AcceptedTimeout,
AcceptedPreimage,
Revocation,
}
Expand description
Describes the type of HTLC claim as determined by analyzing the witness.
Variants§
OfferedTimeout
Claims an offered output on a commitment transaction through the timeout path.
OfferedPreimage
Claims an offered output on a commitment transaction through the success path.
AcceptedTimeout
Claims an accepted output on a commitment transaction through the timeout path.
AcceptedPreimage
Claims an accepted output on a commitment transaction through the success path.
Revocation
Claims an offered/accepted output on a commitment transaction through the revocation path.
Implementations§
Trait Implementations§
source§impl PartialEq<HTLCClaim> for HTLCClaim
impl PartialEq<HTLCClaim> for HTLCClaim
impl Eq for HTLCClaim
impl StructuralEq for HTLCClaim
impl StructuralPartialEq for HTLCClaim
Auto Trait Implementations§
impl RefUnwindSafe for HTLCClaim
impl Send for HTLCClaim
impl Sync for HTLCClaim
impl Unpin for HTLCClaim
impl UnwindSafe for HTLCClaim
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