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