Package org.ldk.structs
Class Result_OpenChannelV2DecodeErrorZ
- java.lang.Object
-
- org.ldk.structs.Result_OpenChannelV2DecodeErrorZ
-
- Direct Known Subclasses:
Result_OpenChannelV2DecodeErrorZ.Result_OpenChannelV2DecodeErrorZ_Err,Result_OpenChannelV2DecodeErrorZ.Result_OpenChannelV2DecodeErrorZ_OK
public class Result_OpenChannelV2DecodeErrorZ extends Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classResult_OpenChannelV2DecodeErrorZ.Result_OpenChannelV2DecodeErrorZ_Errstatic classResult_OpenChannelV2DecodeErrorZ.Result_OpenChannelV2DecodeErrorZ_OK
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Result_OpenChannelV2DecodeErrorZclone()Creates a new CResult_OpenChannelV2DecodeErrorZ which has the same data as `orig` but with all dynamically-allocated buffers duplicated in new buffers.static Result_OpenChannelV2DecodeErrorZerr(DecodeError e)Creates a new CResult_OpenChannelV2DecodeErrorZ in the error state.protected voidfinalize()booleanis_ok()Checks if the given object is currently in the success statestatic Result_OpenChannelV2DecodeErrorZok(OpenChannelV2 o)Creates a new CResult_OpenChannelV2DecodeErrorZ in the success state.
-
-
-
Method Detail
-
finalize
protected void finalize() throws Throwable
-
ok
public static Result_OpenChannelV2DecodeErrorZ ok(OpenChannelV2 o)
Creates a new CResult_OpenChannelV2DecodeErrorZ in the success state.
-
err
public static Result_OpenChannelV2DecodeErrorZ err(DecodeError e)
Creates a new CResult_OpenChannelV2DecodeErrorZ in the error state.
-
is_ok
public boolean is_ok()
Checks if the given object is currently in the success state
-
clone
public Result_OpenChannelV2DecodeErrorZ clone()
Creates a new CResult_OpenChannelV2DecodeErrorZ which has the same data as `orig` but with all dynamically-allocated buffers duplicated in new buffers.
-
-