Expand description
An update_fail_htlc message to be sent or received from a peer
Fields
channel_id: [u8; 32]
The channel ID
htlc_id: u64
The HTLC ID
Trait Implementations
sourceimpl Clone for UpdateFailHTLC
impl Clone for UpdateFailHTLC
sourcefn clone(&self) -> UpdateFailHTLC
fn clone(&self) -> UpdateFailHTLC
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 UpdateFailHTLC
impl Debug for UpdateFailHTLC
sourceimpl PartialEq<UpdateFailHTLC> for UpdateFailHTLC
impl PartialEq<UpdateFailHTLC> for UpdateFailHTLC
sourcefn eq(&self, other: &UpdateFailHTLC) -> bool
fn eq(&self, other: &UpdateFailHTLC) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &UpdateFailHTLC) -> bool
fn ne(&self, other: &UpdateFailHTLC) -> bool
This method tests for !=
.
sourceimpl Readable for UpdateFailHTLC
impl Readable for UpdateFailHTLC
sourceimpl Writeable for UpdateFailHTLC
impl Writeable for UpdateFailHTLC
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 UpdateFailHTLC
Auto Trait Implementations
impl RefUnwindSafe for UpdateFailHTLC
impl Send for UpdateFailHTLC
impl Sync for UpdateFailHTLC
impl Unpin for UpdateFailHTLC
impl UnwindSafe for UpdateFailHTLC
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
sourceimpl<T> MaybeReadable for T where
T: Readable,
impl<T> MaybeReadable for T where
T: Readable,
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more