Enum lightning::blinded_path::IntroductionNode
source · pub enum IntroductionNode {
NodeId(PublicKey),
DirectedShortChannelId(Direction, u64),
}
Expand description
The unblinded node in a BlindedPath
.
Variants§
NodeId(PublicKey)
The node id of the introduction node.
DirectedShortChannelId(Direction, u64)
The short channel id of the channel leading to the introduction node. The Direction
identifies which side of the channel is the introduction node.
Trait Implementations§
source§impl Clone for IntroductionNode
impl Clone for IntroductionNode
source§fn clone(&self) -> IntroductionNode
fn clone(&self) -> IntroductionNode
Returns a copy 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 IntroductionNode
impl Debug for IntroductionNode
source§impl Hash for IntroductionNode
impl Hash for IntroductionNode
source§impl PartialEq for IntroductionNode
impl PartialEq for IntroductionNode
source§fn eq(&self, other: &IntroductionNode) -> bool
fn eq(&self, other: &IntroductionNode) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for IntroductionNode
impl StructuralPartialEq for IntroductionNode
Auto Trait Implementations§
impl Freeze for IntroductionNode
impl RefUnwindSafe for IntroductionNode
impl Send for IntroductionNode
impl Sync for IntroductionNode
impl Unpin for IntroductionNode
impl UnwindSafe for IntroductionNode
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