Enum lightning_invoice::payment::Retry
source · [−]Expand description
Strategies available to retry payment path failures for an Invoice
.
Variants
Attempts(usize)
Max number of attempts to retry payment.
Note that this is the number of path failures, not full payment retries. For multi-path payments, if this is less than the total number of paths, we will never even retry all of the payment’s paths.
Timeout(Duration)
Available on crate feature
std
only.Time elapsed before abandoning retries for a payment.
Trait Implementations
impl Copy for Retry
impl Eq for Retry
impl StructuralEq for Retry
impl StructuralPartialEq for Retry
Auto Trait Implementations
impl RefUnwindSafe for Retry
impl Send for Retry
impl Sync for Retry
impl Unpin for Retry
impl UnwindSafe for Retry
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more