Package org.ldk.structs
Class Option_ChannelShutdownStateZ
- java.lang.Object
-
- org.ldk.structs.Option_ChannelShutdownStateZ
-
- Direct Known Subclasses:
Option_ChannelShutdownStateZ.None,Option_ChannelShutdownStateZ.Some
public class Option_ChannelShutdownStateZ extends Object
An enum which can either contain a crate::lightning::ln::channelmanager::ChannelShutdownState or not
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classOption_ChannelShutdownStateZ.NoneWhen we're in this state, this COption_ChannelShutdownStateZ contains nothingstatic classOption_ChannelShutdownStateZ.SomeWhen we're in this state, this COption_ChannelShutdownStateZ contains a crate::lightning::ln::channelmanager::ChannelShutdownState
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Option_ChannelShutdownStateZclone()Creates a new COption_ChannelShutdownStateZ which has the same data as `orig` but with all dynamically-allocated buffers duplicated in new buffers.protected voidfinalize()static Option_ChannelShutdownStateZnone()Constructs a new COption_ChannelShutdownStateZ containing nothingstatic Option_ChannelShutdownStateZsome(ChannelShutdownState o)Constructs a new COption_ChannelShutdownStateZ containing a crate::lightning::ln::channelmanager::ChannelShutdownState
-
-
-
Method Detail
-
finalize
protected void finalize() throws Throwable
-
some
public static Option_ChannelShutdownStateZ some(ChannelShutdownState o)
Constructs a new COption_ChannelShutdownStateZ containing a crate::lightning::ln::channelmanager::ChannelShutdownState
-
none
public static Option_ChannelShutdownStateZ none()
Constructs a new COption_ChannelShutdownStateZ containing nothing
-
clone
public Option_ChannelShutdownStateZ clone()
Creates a new COption_ChannelShutdownStateZ which has the same data as `orig` but with all dynamically-allocated buffers duplicated in new buffers.
-
-