Package org.ldk.structs
Class Result_NoneBolt11SemanticErrorZ
- java.lang.Object
-
- org.ldk.structs.Result_NoneBolt11SemanticErrorZ
-
- Direct Known Subclasses:
Result_NoneBolt11SemanticErrorZ.Result_NoneBolt11SemanticErrorZ_Err,Result_NoneBolt11SemanticErrorZ.Result_NoneBolt11SemanticErrorZ_OK
public class Result_NoneBolt11SemanticErrorZ extends Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classResult_NoneBolt11SemanticErrorZ.Result_NoneBolt11SemanticErrorZ_Errstatic classResult_NoneBolt11SemanticErrorZ.Result_NoneBolt11SemanticErrorZ_OK
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Result_NoneBolt11SemanticErrorZclone()Creates a new CResult_NoneBolt11SemanticErrorZ which has the same data as `orig` but with all dynamically-allocated buffers duplicated in new buffers.static Result_NoneBolt11SemanticErrorZerr(Bolt11SemanticError e)Creates a new CResult_NoneBolt11SemanticErrorZ in the error state.protected voidfinalize()booleanis_ok()Checks if the given object is currently in the success statestatic Result_NoneBolt11SemanticErrorZok()Creates a new CResult_NoneBolt11SemanticErrorZ in the success state.
-
-
-
Method Detail
-
finalize
protected void finalize() throws Throwable
-
ok
public static Result_NoneBolt11SemanticErrorZ ok()
Creates a new CResult_NoneBolt11SemanticErrorZ in the success state.
-
err
public static Result_NoneBolt11SemanticErrorZ err(Bolt11SemanticError e)
Creates a new CResult_NoneBolt11SemanticErrorZ in the error state.
-
is_ok
public boolean is_ok()
Checks if the given object is currently in the success state
-
clone
public Result_NoneBolt11SemanticErrorZ clone()
Creates a new CResult_NoneBolt11SemanticErrorZ which has the same data as `orig` but with all dynamically-allocated buffers duplicated in new buffers.
-
-