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::util::events::HTLCDestination or not
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classOption_HTLCDestinationZ.NoneWhen we're in this state, this COption_HTLCDestinationZ contains nothingstatic classOption_HTLCDestinationZ.SomeWhen we're in this state, this COption_HTLCDestinationZ contains a crate::lightning::util::events::HTLCDestination
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Option_HTLCDestinationZclone()Creates a new COption_HTLCDestinationZ which has the same data as `orig` but with all dynamically-allocated buffers duplicated in new buffers.protected voidfinalize()static Option_HTLCDestinationZnone()Constructs a new COption_HTLCDestinationZ containing nothingstatic Option_HTLCDestinationZsome(HTLCDestination o)Constructs a new COption_HTLCDestinationZ containing a crate::lightning::util::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::util::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.
-
-