pub enum BlindedFailure {
FromIntroductionNode,
FromBlindedNode,
}Expand description
Whether this blinded HTLC is being failed backwards by the introduction node or a blinded node, which determines the failure message that should be used.
Variants§
FromIntroductionNode
This HTLC is being failed backwards by the introduction node, and thus should be failed with
msgs::UpdateFailHTLC and error code 0x8000|0x4000|24.
FromBlindedNode
This HTLC is being failed backwards by a blinded node within the path, and thus should be
failed with msgs::UpdateFailMalformedHTLC and error code 0x8000|0x4000|24.
Trait Implementations§
Source§impl Clone for BlindedFailure
impl Clone for BlindedFailure
Source§fn clone(&self) -> BlindedFailure
fn clone(&self) -> BlindedFailure
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 BlindedFailure
impl Debug for BlindedFailure
Source§impl Hash for BlindedFailure
impl Hash for BlindedFailure
Source§impl PartialEq for BlindedFailure
impl PartialEq for BlindedFailure
Source§impl Readable for BlindedFailure
impl Readable for BlindedFailure
Source§impl Writeable for BlindedFailure
impl Writeable for BlindedFailure
impl Copy for BlindedFailure
impl Eq for BlindedFailure
impl StructuralPartialEq for BlindedFailure
Auto Trait Implementations§
impl Freeze for BlindedFailure
impl RefUnwindSafe for BlindedFailure
impl Send for BlindedFailure
impl Sync for BlindedFailure
impl Unpin for BlindedFailure
impl UnwindSafe for BlindedFailure
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