pub enum RetryableSendFailure {
PaymentExpired,
RouteNotFound,
DuplicatePayment,
OnionPacketSizeExceeded,
}Expand description
Indicates an immediate error on ChannelManager::send_payment. Further errors may be
surfaced later via Event::PaymentPathFailed and Event::PaymentFailed.
Variants§
PaymentExpired
The provided PaymentParameters::expiry_time indicated that the payment has expired or
the BOLT 12 invoice paid to via ChannelManager::send_payment_for_bolt12_invoice was
expired.
Note that this error is not caused by Retry::Timeout.
RouteNotFound
We were unable to find a route to the destination.
DuplicatePayment
Indicates that a payment for the provided PaymentId is already in-flight and has not
yet completed (i.e. generated an Event::PaymentSent or Event::PaymentFailed).
OnionPacketSizeExceeded
The RecipientOnionFields::payment_metadata, RecipientOnionFields::custom_tlvs, or
BlindedPaymentPaths provided are too large and caused us to exceed the maximum onion
packet size of 1300 bytes.
Trait Implementations§
Source§impl Clone for RetryableSendFailure
impl Clone for RetryableSendFailure
Source§fn clone(&self) -> RetryableSendFailure
fn clone(&self) -> RetryableSendFailure
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more