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