pub enum HeldHtlcReplyPath {
ToUs {
payment_id: PaymentId,
peers: Vec<MessageForwardNode>,
},
ToCounterparty {
path: BlindedMessagePath,
},
}Expand description
Parameters for the reply path to a HeldHtlcAvailable onion message.
Variants§
ToUs
The reply path to the HeldHtlcAvailable message should terminate at our node.
Fields
§
peers: Vec<MessageForwardNode>The peers to use when creating this reply path.
ToCounterparty
The reply path to the HeldHtlcAvailable message should terminate at our next-hop channel
counterparty, as they are holding our HTLC until they receive the corresponding
ReleaseHeldHtlc message.
Fields
§
path: BlindedMessagePathThe blinded path provided to us by our counterparty.
Auto Trait Implementations§
impl Freeze for HeldHtlcReplyPath
impl RefUnwindSafe for HeldHtlcReplyPath
impl Send for HeldHtlcReplyPath
impl Sync for HeldHtlcReplyPath
impl Unpin for HeldHtlcReplyPath
impl UnwindSafe for HeldHtlcReplyPath
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