Uses of Class
org.ldk.structs.PaymentSendFailure
-
Packages that use PaymentSendFailure Package Description org.ldk.structs -
-
Uses of PaymentSendFailure in org.ldk.structs
Subclasses of PaymentSendFailure in org.ldk.structs Modifier and Type Class Description static class
PaymentSendFailure.AllFailedResendSafe
All paths which were attempted failed to send, with no channel state change taking place.static class
PaymentSendFailure.DuplicatePayment
Indicates that a payment for the provided [`PaymentId`] is already in-flight and has not yet completed (i.e.static class
PaymentSendFailure.ParameterError
A parameter which was passed to send_payment was invalid, preventing us from attempting to send the payment at all.static class
PaymentSendFailure.PartialFailure
Some paths that were attempted failed to send, though some paths may have succeeded.static class
PaymentSendFailure.PathParameterError
A parameter in a single path which was passed to send_payment was invalid, preventing us from attempting to send the payment at all.Fields in org.ldk.structs declared as PaymentSendFailure Modifier and Type Field Description PaymentSendFailure
Result_C2Tuple_PaymentHashPaymentIdZPaymentSendFailureZ.Result_C2Tuple_PaymentHashPaymentIdZPaymentSendFailureZ_Err. err
PaymentSendFailure
Result_NonePaymentSendFailureZ.Result_NonePaymentSendFailureZ_Err. err
PaymentSendFailure
Result_PaymentHashPaymentSendFailureZ.Result_PaymentHashPaymentSendFailureZ_Err. err
Methods in org.ldk.structs that return PaymentSendFailure Modifier and Type Method Description static PaymentSendFailure
PaymentSendFailure. all_failed_resend_safe(APIError[] a)
Utility method to constructs a new AllFailedResendSafe-variant PaymentSendFailurePaymentSendFailure
PaymentSendFailure. clone()
Creates a copy of the PaymentSendFailurestatic PaymentSendFailure
PaymentSendFailure. duplicate_payment()
Utility method to constructs a new DuplicatePayment-variant PaymentSendFailurestatic PaymentSendFailure
PaymentSendFailure. parameter_error(APIError a)
Utility method to constructs a new ParameterError-variant PaymentSendFailurestatic PaymentSendFailure
PaymentSendFailure. partial_failure(Result_NoneAPIErrorZ[] results, RouteParameters failed_paths_retry, byte[] payment_id)
Utility method to constructs a new PartialFailure-variant PaymentSendFailurestatic PaymentSendFailure
PaymentSendFailure. path_parameter_error(Result_NoneAPIErrorZ[] a)
Utility method to constructs a new PathParameterError-variant PaymentSendFailureMethods in org.ldk.structs with parameters of type PaymentSendFailure Modifier and Type Method Description static Result_C2Tuple_PaymentHashPaymentIdZPaymentSendFailureZ
Result_C2Tuple_PaymentHashPaymentIdZPaymentSendFailureZ. err(PaymentSendFailure e)
Creates a new CResult_C2Tuple_PaymentHashPaymentIdZPaymentSendFailureZ in the error state.static Result_NonePaymentSendFailureZ
Result_NonePaymentSendFailureZ. err(PaymentSendFailure e)
Creates a new CResult_NonePaymentSendFailureZ in the error state.static Result_PaymentHashPaymentSendFailureZ
Result_PaymentHashPaymentSendFailureZ. err(PaymentSendFailure e)
Creates a new CResult_PaymentHashPaymentSendFailureZ in the error state.
-