Package org.ldk.structs
Class Option_PaymentFailureReasonZ
- java.lang.Object
-
- org.ldk.structs.Option_PaymentFailureReasonZ
-
- Direct Known Subclasses:
Option_PaymentFailureReasonZ.None,Option_PaymentFailureReasonZ.Some
public class Option_PaymentFailureReasonZ extends Object
An enum which can either contain a crate::lightning::events::PaymentFailureReason or not
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classOption_PaymentFailureReasonZ.NoneWhen we're in this state, this COption_PaymentFailureReasonZ contains nothingstatic classOption_PaymentFailureReasonZ.SomeWhen we're in this state, this COption_PaymentFailureReasonZ contains a crate::lightning::events::PaymentFailureReason
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Option_PaymentFailureReasonZclone()Creates a new COption_PaymentFailureReasonZ which has the same data as `orig` but with all dynamically-allocated buffers duplicated in new buffers.protected voidfinalize()static Option_PaymentFailureReasonZnone()Constructs a new COption_PaymentFailureReasonZ containing nothingstatic Option_PaymentFailureReasonZsome(PaymentFailureReason o)Constructs a new COption_PaymentFailureReasonZ containing a crate::lightning::events::PaymentFailureReason
-
-
-
Method Detail
-
finalize
protected void finalize() throws Throwable
-
some
public static Option_PaymentFailureReasonZ some(PaymentFailureReason o)
Constructs a new COption_PaymentFailureReasonZ containing a crate::lightning::events::PaymentFailureReason
-
none
public static Option_PaymentFailureReasonZ none()
Constructs a new COption_PaymentFailureReasonZ containing nothing
-
clone
public 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.
-
-