pub struct UpdateFailHTLC {
pub channel_id: ChannelId,
pub htlc_id: u64,
pub attribution_data: Option<AttributionData>,
/* private fields */
}Expand description
An update_fail_htlc message to be sent to or received from a peer.
Fields§
§channel_id: ChannelIdThe channel ID
htlc_id: u64The HTLC ID
attribution_data: Option<AttributionData>Optional field for the attribution data that allows the sender to pinpoint the failing node under all conditions
Trait Implementations§
Source§impl Clone for UpdateFailHTLC
impl Clone for UpdateFailHTLC
Source§fn clone(&self) -> UpdateFailHTLC
fn clone(&self) -> UpdateFailHTLC
Returns a duplicate 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 Debug for UpdateFailHTLC
impl Debug for UpdateFailHTLC
Source§impl Hash for UpdateFailHTLC
impl Hash for UpdateFailHTLC
Source§impl LengthReadable for UpdateFailHTLC
impl LengthReadable for UpdateFailHTLC
Source§fn read_from_fixed_length_buffer<R: LengthLimitedRead>(
r: &mut R,
) -> Result<Self, DecodeError>
fn read_from_fixed_length_buffer<R: LengthLimitedRead>( r: &mut R, ) -> Result<Self, DecodeError>
Reads a
Self in from the given LengthLimitedRead.Source§impl PartialEq for UpdateFailHTLC
impl PartialEq for UpdateFailHTLC
Source§impl Writeable for UpdateFailHTLC
impl Writeable for UpdateFailHTLC
impl Eq for UpdateFailHTLC
impl StructuralPartialEq for UpdateFailHTLC
Auto Trait Implementations§
impl Freeze for UpdateFailHTLC
impl RefUnwindSafe for UpdateFailHTLC
impl Send for UpdateFailHTLC
impl Sync for UpdateFailHTLC
impl Unpin for UpdateFailHTLC
impl UnwindSafe for UpdateFailHTLC
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