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