Package org.ldk.structs
Class Result_PaymentRelayDecodeErrorZ
- java.lang.Object
-
- org.ldk.structs.Result_PaymentRelayDecodeErrorZ
-
- Direct Known Subclasses:
Result_PaymentRelayDecodeErrorZ.Result_PaymentRelayDecodeErrorZ_Err,Result_PaymentRelayDecodeErrorZ.Result_PaymentRelayDecodeErrorZ_OK
public class Result_PaymentRelayDecodeErrorZ extends Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classResult_PaymentRelayDecodeErrorZ.Result_PaymentRelayDecodeErrorZ_Errstatic classResult_PaymentRelayDecodeErrorZ.Result_PaymentRelayDecodeErrorZ_OK
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Result_PaymentRelayDecodeErrorZclone()Creates a new CResult_PaymentRelayDecodeErrorZ which has the same data as `orig` but with all dynamically-allocated buffers duplicated in new buffers.static Result_PaymentRelayDecodeErrorZerr(DecodeError e)Creates a new CResult_PaymentRelayDecodeErrorZ in the error state.protected voidfinalize()booleanis_ok()Checks if the given object is currently in the success statestatic Result_PaymentRelayDecodeErrorZok(PaymentRelay o)Creates a new CResult_PaymentRelayDecodeErrorZ in the success state.
-
-
-
Method Detail
-
finalize
protected void finalize() throws Throwable
-
ok
public static Result_PaymentRelayDecodeErrorZ ok(PaymentRelay o)
Creates a new CResult_PaymentRelayDecodeErrorZ in the success state.
-
err
public static Result_PaymentRelayDecodeErrorZ err(DecodeError e)
Creates a new CResult_PaymentRelayDecodeErrorZ in the error state.
-
is_ok
public boolean is_ok()
Checks if the given object is currently in the success state
-
clone
public Result_PaymentRelayDecodeErrorZ clone()
Creates a new CResult_PaymentRelayDecodeErrorZ which has the same data as `orig` but with all dynamically-allocated buffers duplicated in new buffers.
-
-