pub struct UpdateFailMalformedHTLC {
pub channel_id: [u8; 32],
pub htlc_id: u64,
pub failure_code: u16,
/* private fields */
}
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
sourceimpl Clone for UpdateFailMalformedHTLC
impl Clone for UpdateFailMalformedHTLC
sourcefn clone(&self) -> UpdateFailMalformedHTLC
fn clone(&self) -> UpdateFailMalformedHTLC
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for UpdateFailMalformedHTLC
impl Debug for UpdateFailMalformedHTLC
sourceimpl PartialEq<UpdateFailMalformedHTLC> for UpdateFailMalformedHTLC
impl PartialEq<UpdateFailMalformedHTLC> for UpdateFailMalformedHTLC
sourcefn eq(&self, other: &UpdateFailMalformedHTLC) -> bool
fn eq(&self, other: &UpdateFailMalformedHTLC) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &UpdateFailMalformedHTLC) -> bool
fn ne(&self, other: &UpdateFailMalformedHTLC) -> bool
This method tests for !=
.
sourceimpl Readable for UpdateFailMalformedHTLC
impl Readable for UpdateFailMalformedHTLC
sourceimpl Writeable for UpdateFailMalformedHTLC
impl Writeable for UpdateFailMalformedHTLC
sourcefn encode(&self) -> Vec<u8>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A> where
A: Allocator,
fn encode(&self) -> Vec<u8>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A> where
A: Allocator,
A: Allocator,
Writes self out to a Vec
sourcefn serialized_length(&self) -> usize
fn serialized_length(&self) -> usize
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
impl StructuralPartialEq for UpdateFailMalformedHTLC
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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more