pub struct NextFunding {
pub txid: Txid,
pub retransmit_flags: u8,
}Expand description
Information exchanged during channel reestablishment about the next funding from interactive transaction construction.
Fields§
§txid: TxidThe txid of the interactive transaction construction.
retransmit_flags: u8A bitfield indicating which messages should be retransmitted by the receiving node.
See NextFundingFlag for details.
Implementations§
Source§impl NextFunding
impl NextFunding
Sourcepub fn retransmit(&mut self, flag: NextFundingFlag)
pub fn retransmit(&mut self, flag: NextFundingFlag)
Sets the bit in retransmit_flags for retransmitting the message corresponding to flag.
Sourcepub fn should_retransmit(&self, flag: NextFundingFlag) -> bool
pub fn should_retransmit(&self, flag: NextFundingFlag) -> bool
Returns whether the message corresponding to flag should be retransmitted.
Trait Implementations§
Source§impl Clone for NextFunding
impl Clone for NextFunding
Source§fn clone(&self) -> NextFunding
fn clone(&self) -> NextFunding
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 NextFunding
impl Debug for NextFunding
Source§impl Hash for NextFunding
impl Hash for NextFunding
Source§impl PartialEq for NextFunding
impl PartialEq for NextFunding
Source§impl Readable for NextFunding
impl Readable for NextFunding
Source§impl Writeable for NextFunding
impl Writeable for NextFunding
impl Eq for NextFunding
impl StructuralPartialEq for NextFunding
Auto Trait Implementations§
impl Freeze for NextFunding
impl RefUnwindSafe for NextFunding
impl Send for NextFunding
impl Sync for NextFunding
impl Unpin for NextFunding
impl UnwindSafe for NextFunding
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<T> LengthReadable for Twhere
T: Readable,
impl<T> LengthReadable for Twhere
T: Readable,
Source§fn read_from_fixed_length_buffer<R>(reader: &mut R) -> Result<T, DecodeError>where
R: LengthLimitedRead,
fn read_from_fixed_length_buffer<R>(reader: &mut R) -> Result<T, DecodeError>where
R: LengthLimitedRead,
Reads a
Self in from the given LengthLimitedRead.