Struct lightning::ln::msgs::UpdateFailMalformedHTLC [−][src]
pub struct UpdateFailMalformedHTLC {
pub channel_id: [u8; 32],
pub htlc_id: u64,
pub failure_code: u16,
// some fields omitted
}
Expand description
An update_fail_malformed_htlc message to be sent or received from a peer
Fields
channel_id: [u8; 32]
The channel ID
htlc_id: u64
The HTLC ID
failure_code: u16
The failure code
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Writes self out to a Vec
Writes self out to a Vec
Gets the length of this object after it has been serialized. This can be overridden to optimize cases where we prepend an object with its length. Read more
Auto Trait Implementations
impl RefUnwindSafe for UpdateFailMalformedHTLC
impl Send for UpdateFailMalformedHTLC
impl Sync for UpdateFailMalformedHTLC
impl Unpin for UpdateFailMalformedHTLC
impl UnwindSafe for UpdateFailMalformedHTLC
Blanket Implementations
Mutably borrows from an owned value. Read more