Package org.ldk.structs
Class Result_ChannelFeaturesDecodeErrorZ
- java.lang.Object
-
- org.ldk.structs.Result_ChannelFeaturesDecodeErrorZ
-
- Direct Known Subclasses:
Result_ChannelFeaturesDecodeErrorZ.Result_ChannelFeaturesDecodeErrorZ_Err,Result_ChannelFeaturesDecodeErrorZ.Result_ChannelFeaturesDecodeErrorZ_OK
public class Result_ChannelFeaturesDecodeErrorZ extends Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classResult_ChannelFeaturesDecodeErrorZ.Result_ChannelFeaturesDecodeErrorZ_Errstatic classResult_ChannelFeaturesDecodeErrorZ.Result_ChannelFeaturesDecodeErrorZ_OK
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Result_ChannelFeaturesDecodeErrorZclone()Creates a new CResult_ChannelFeaturesDecodeErrorZ which has the same data as `orig` but with all dynamically-allocated buffers duplicated in new buffers.static Result_ChannelFeaturesDecodeErrorZerr(DecodeError e)Creates a new CResult_ChannelFeaturesDecodeErrorZ in the error state.protected voidfinalize()booleanis_ok()Checks if the given object is currently in the success statestatic Result_ChannelFeaturesDecodeErrorZok(ChannelFeatures o)Creates a new CResult_ChannelFeaturesDecodeErrorZ in the success state.
-
-
-
Method Detail
-
finalize
protected void finalize() throws Throwable
-
ok
public static Result_ChannelFeaturesDecodeErrorZ ok(ChannelFeatures o)
Creates a new CResult_ChannelFeaturesDecodeErrorZ in the success state.
-
err
public static Result_ChannelFeaturesDecodeErrorZ err(DecodeError e)
Creates a new CResult_ChannelFeaturesDecodeErrorZ in the error state.
-
is_ok
public boolean is_ok()
Checks if the given object is currently in the success state
-
clone
public Result_ChannelFeaturesDecodeErrorZ clone()
Creates a new CResult_ChannelFeaturesDecodeErrorZ which has the same data as `orig` but with all dynamically-allocated buffers duplicated in new buffers.
-
-