pub enum Bolt11PaymentError {
InvalidAmount,
SendingFailed(RetryableSendFailure),
}Expand description
An error when attempting to pay a Bolt11Invoice.
Variants§
InvalidAmount
Incorrect amount was provided to ChannelManager::pay_for_bolt11_invoice.
This happens when the user-provided amount is less than an amount specified in the Bolt11Invoice.
SendingFailed(RetryableSendFailure)
The invoice was valid for the corresponding PaymentId, but sending the payment failed.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Bolt11PaymentError
impl RefUnwindSafe for Bolt11PaymentError
impl Send for Bolt11PaymentError
impl Sync for Bolt11PaymentError
impl Unpin for Bolt11PaymentError
impl UnwindSafe for Bolt11PaymentError
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