[−][src]Enum lightning::ln::msgs::HTLCFailChannelUpdate
The information we received from a peer along the route of a payment we originated. This is returned by ChannelMessageHandler::handle_update_fail_htlc to be passed into RoutingMessageHandler::handle_htlc_fail_channel_update to update our network map.
Variants
We received an error which included a full ChannelUpdate message.
Fields of ChannelUpdateMessage
msg: ChannelUpdate
The unwrapped message we received
We received an error which indicated only that a channel has been closed
Fields of ChannelClosed
We received an error which indicated only that a node has failed
Fields of NodeFailure
node_id: PublicKey
The node_id that has failed.
is_permanent: bool
when this true, node should be permanently removed from the consideration. Otherwise, the channels connected to this node can be restored as new channel_update is received
Trait Implementations
impl Clone for HTLCFailChannelUpdate
[src]
pub fn clone(&self) -> HTLCFailChannelUpdate
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
Auto Trait Implementations
impl RefUnwindSafe for HTLCFailChannelUpdate
impl Send for HTLCFailChannelUpdate
impl Sync for HTLCFailChannelUpdate
impl Unpin for HTLCFailChannelUpdate
impl UnwindSafe for HTLCFailChannelUpdate
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,