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