Package org.ldk.structs
Class Result_ChannelReadyDecodeErrorZ
- java.lang.Object
-
- org.ldk.structs.Result_ChannelReadyDecodeErrorZ
-
- Direct Known Subclasses:
Result_ChannelReadyDecodeErrorZ.Result_ChannelReadyDecodeErrorZ_Err,Result_ChannelReadyDecodeErrorZ.Result_ChannelReadyDecodeErrorZ_OK
public class Result_ChannelReadyDecodeErrorZ extends Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classResult_ChannelReadyDecodeErrorZ.Result_ChannelReadyDecodeErrorZ_Errstatic classResult_ChannelReadyDecodeErrorZ.Result_ChannelReadyDecodeErrorZ_OK
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Result_ChannelReadyDecodeErrorZclone()Creates a new CResult_ChannelReadyDecodeErrorZ which has the same data as `orig` but with all dynamically-allocated buffers duplicated in new buffers.static Result_ChannelReadyDecodeErrorZerr(DecodeError e)Creates a new CResult_ChannelReadyDecodeErrorZ in the error state.protected voidfinalize()booleanis_ok()Checks if the given object is currently in the success statestatic Result_ChannelReadyDecodeErrorZok(ChannelReady o)Creates a new CResult_ChannelReadyDecodeErrorZ in the success state.
-
-
-
Method Detail
-
finalize
protected void finalize() throws Throwable
-
ok
public static Result_ChannelReadyDecodeErrorZ ok(ChannelReady o)
Creates a new CResult_ChannelReadyDecodeErrorZ in the success state.
-
err
public static Result_ChannelReadyDecodeErrorZ err(DecodeError e)
Creates a new CResult_ChannelReadyDecodeErrorZ in the error state.
-
is_ok
public boolean is_ok()
Checks if the given object is currently in the success state
-
clone
public Result_ChannelReadyDecodeErrorZ clone()
Creates a new CResult_ChannelReadyDecodeErrorZ which has the same data as `orig` but with all dynamically-allocated buffers duplicated in new buffers.
-
-