Uses of Class
org.ldk.structs.Option_PaymentFailureReasonZ
-
Packages that use Option_PaymentFailureReasonZ Package Description org.ldk.structs -
-
Uses of Option_PaymentFailureReasonZ in org.ldk.structs
Subclasses of Option_PaymentFailureReasonZ in org.ldk.structs Modifier and Type Class Description static class
Option_PaymentFailureReasonZ.None
When we're in this state, this COption_PaymentFailureReasonZ contains nothingstatic class
Option_PaymentFailureReasonZ.Some
When we're in this state, this COption_PaymentFailureReasonZ contains a crate::lightning::events::PaymentFailureReasonFields in org.ldk.structs declared as Option_PaymentFailureReasonZ Modifier and Type Field Description Option_PaymentFailureReasonZ
Event.PaymentFailed. reason
The reason the payment failed.Methods in org.ldk.structs that return Option_PaymentFailureReasonZ Modifier and Type Method Description Option_PaymentFailureReasonZ
Option_PaymentFailureReasonZ. clone()
Creates a new COption_PaymentFailureReasonZ which has the same data as `orig` but with all dynamically-allocated buffers duplicated in new buffers.static Option_PaymentFailureReasonZ
Option_PaymentFailureReasonZ. none()
Constructs a new COption_PaymentFailureReasonZ containing nothingstatic Option_PaymentFailureReasonZ
Option_PaymentFailureReasonZ. some(PaymentFailureReason o)
Constructs a new COption_PaymentFailureReasonZ containing a crate::lightning::events::PaymentFailureReasonMethods in org.ldk.structs with parameters of type Option_PaymentFailureReasonZ Modifier and Type Method Description static Event
Event. payment_failed(byte[] payment_id, byte[] payment_hash, Option_PaymentFailureReasonZ reason)
Utility method to constructs a new PaymentFailed-variant Event
-