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