]> git.bitcoin.ninja Git - rust-lightning/blob - lightning-c-bindings/include/lightningpp.hpp
Implement chain::Listen without using RefCell
[rust-lightning] / lightning-c-bindings / include / lightningpp.hpp
1 #include <string.h>
2 namespace LDK {
3 class APIError {
4 private:
5         LDKAPIError self;
6 public:
7         APIError(const APIError&) = delete;
8         APIError(APIError&& o) : self(o.self) { memset(&o, 0, sizeof(APIError)); }
9         APIError(LDKAPIError&& m_self) : self(m_self) { memset(&m_self, 0, sizeof(LDKAPIError)); }
10         operator LDKAPIError() && { LDKAPIError res = self; memset(&self, 0, sizeof(LDKAPIError)); return res; }
11         ~APIError() { APIError_free(self); }
12         APIError& operator=(APIError&& o) { APIError_free(self); self = o.self; memset(&o, 0, sizeof(APIError)); return *this; }
13         LDKAPIError* operator &() { return &self; }
14         LDKAPIError* operator ->() { return &self; }
15         const LDKAPIError* operator &() const { return &self; }
16         const LDKAPIError* operator ->() const { return &self; }
17 };
18 class TxCreationKeys {
19 private:
20         LDKTxCreationKeys self;
21 public:
22         TxCreationKeys(const TxCreationKeys&) = delete;
23         TxCreationKeys(TxCreationKeys&& o) : self(o.self) { memset(&o, 0, sizeof(TxCreationKeys)); }
24         TxCreationKeys(LDKTxCreationKeys&& m_self) : self(m_self) { memset(&m_self, 0, sizeof(LDKTxCreationKeys)); }
25         operator LDKTxCreationKeys() && { LDKTxCreationKeys res = self; memset(&self, 0, sizeof(LDKTxCreationKeys)); return res; }
26         ~TxCreationKeys() { TxCreationKeys_free(self); }
27         TxCreationKeys& operator=(TxCreationKeys&& o) { TxCreationKeys_free(self); self = o.self; memset(&o, 0, sizeof(TxCreationKeys)); return *this; }
28         LDKTxCreationKeys* operator &() { return &self; }
29         LDKTxCreationKeys* operator ->() { return &self; }
30         const LDKTxCreationKeys* operator &() const { return &self; }
31         const LDKTxCreationKeys* operator ->() const { return &self; }
32 };
33 class ChannelPublicKeys {
34 private:
35         LDKChannelPublicKeys self;
36 public:
37         ChannelPublicKeys(const ChannelPublicKeys&) = delete;
38         ChannelPublicKeys(ChannelPublicKeys&& o) : self(o.self) { memset(&o, 0, sizeof(ChannelPublicKeys)); }
39         ChannelPublicKeys(LDKChannelPublicKeys&& m_self) : self(m_self) { memset(&m_self, 0, sizeof(LDKChannelPublicKeys)); }
40         operator LDKChannelPublicKeys() && { LDKChannelPublicKeys res = self; memset(&self, 0, sizeof(LDKChannelPublicKeys)); return res; }
41         ~ChannelPublicKeys() { ChannelPublicKeys_free(self); }
42         ChannelPublicKeys& operator=(ChannelPublicKeys&& o) { ChannelPublicKeys_free(self); self = o.self; memset(&o, 0, sizeof(ChannelPublicKeys)); return *this; }
43         LDKChannelPublicKeys* operator &() { return &self; }
44         LDKChannelPublicKeys* operator ->() { return &self; }
45         const LDKChannelPublicKeys* operator &() const { return &self; }
46         const LDKChannelPublicKeys* operator ->() const { return &self; }
47 };
48 class HTLCOutputInCommitment {
49 private:
50         LDKHTLCOutputInCommitment self;
51 public:
52         HTLCOutputInCommitment(const HTLCOutputInCommitment&) = delete;
53         HTLCOutputInCommitment(HTLCOutputInCommitment&& o) : self(o.self) { memset(&o, 0, sizeof(HTLCOutputInCommitment)); }
54         HTLCOutputInCommitment(LDKHTLCOutputInCommitment&& m_self) : self(m_self) { memset(&m_self, 0, sizeof(LDKHTLCOutputInCommitment)); }
55         operator LDKHTLCOutputInCommitment() && { LDKHTLCOutputInCommitment res = self; memset(&self, 0, sizeof(LDKHTLCOutputInCommitment)); return res; }
56         ~HTLCOutputInCommitment() { HTLCOutputInCommitment_free(self); }
57         HTLCOutputInCommitment& operator=(HTLCOutputInCommitment&& o) { HTLCOutputInCommitment_free(self); self = o.self; memset(&o, 0, sizeof(HTLCOutputInCommitment)); return *this; }
58         LDKHTLCOutputInCommitment* operator &() { return &self; }
59         LDKHTLCOutputInCommitment* operator ->() { return &self; }
60         const LDKHTLCOutputInCommitment* operator &() const { return &self; }
61         const LDKHTLCOutputInCommitment* operator ->() const { return &self; }
62 };
63 class ChannelTransactionParameters {
64 private:
65         LDKChannelTransactionParameters self;
66 public:
67         ChannelTransactionParameters(const ChannelTransactionParameters&) = delete;
68         ChannelTransactionParameters(ChannelTransactionParameters&& o) : self(o.self) { memset(&o, 0, sizeof(ChannelTransactionParameters)); }
69         ChannelTransactionParameters(LDKChannelTransactionParameters&& m_self) : self(m_self) { memset(&m_self, 0, sizeof(LDKChannelTransactionParameters)); }
70         operator LDKChannelTransactionParameters() && { LDKChannelTransactionParameters res = self; memset(&self, 0, sizeof(LDKChannelTransactionParameters)); return res; }
71         ~ChannelTransactionParameters() { ChannelTransactionParameters_free(self); }
72         ChannelTransactionParameters& operator=(ChannelTransactionParameters&& o) { ChannelTransactionParameters_free(self); self = o.self; memset(&o, 0, sizeof(ChannelTransactionParameters)); return *this; }
73         LDKChannelTransactionParameters* operator &() { return &self; }
74         LDKChannelTransactionParameters* operator ->() { return &self; }
75         const LDKChannelTransactionParameters* operator &() const { return &self; }
76         const LDKChannelTransactionParameters* operator ->() const { return &self; }
77 };
78 class CounterpartyChannelTransactionParameters {
79 private:
80         LDKCounterpartyChannelTransactionParameters self;
81 public:
82         CounterpartyChannelTransactionParameters(const CounterpartyChannelTransactionParameters&) = delete;
83         CounterpartyChannelTransactionParameters(CounterpartyChannelTransactionParameters&& o) : self(o.self) { memset(&o, 0, sizeof(CounterpartyChannelTransactionParameters)); }
84         CounterpartyChannelTransactionParameters(LDKCounterpartyChannelTransactionParameters&& m_self) : self(m_self) { memset(&m_self, 0, sizeof(LDKCounterpartyChannelTransactionParameters)); }
85         operator LDKCounterpartyChannelTransactionParameters() && { LDKCounterpartyChannelTransactionParameters res = self; memset(&self, 0, sizeof(LDKCounterpartyChannelTransactionParameters)); return res; }
86         ~CounterpartyChannelTransactionParameters() { CounterpartyChannelTransactionParameters_free(self); }
87         CounterpartyChannelTransactionParameters& operator=(CounterpartyChannelTransactionParameters&& o) { CounterpartyChannelTransactionParameters_free(self); self = o.self; memset(&o, 0, sizeof(CounterpartyChannelTransactionParameters)); return *this; }
88         LDKCounterpartyChannelTransactionParameters* operator &() { return &self; }
89         LDKCounterpartyChannelTransactionParameters* operator ->() { return &self; }
90         const LDKCounterpartyChannelTransactionParameters* operator &() const { return &self; }
91         const LDKCounterpartyChannelTransactionParameters* operator ->() const { return &self; }
92 };
93 class DirectedChannelTransactionParameters {
94 private:
95         LDKDirectedChannelTransactionParameters self;
96 public:
97         DirectedChannelTransactionParameters(const DirectedChannelTransactionParameters&) = delete;
98         DirectedChannelTransactionParameters(DirectedChannelTransactionParameters&& o) : self(o.self) { memset(&o, 0, sizeof(DirectedChannelTransactionParameters)); }
99         DirectedChannelTransactionParameters(LDKDirectedChannelTransactionParameters&& m_self) : self(m_self) { memset(&m_self, 0, sizeof(LDKDirectedChannelTransactionParameters)); }
100         operator LDKDirectedChannelTransactionParameters() && { LDKDirectedChannelTransactionParameters res = self; memset(&self, 0, sizeof(LDKDirectedChannelTransactionParameters)); return res; }
101         ~DirectedChannelTransactionParameters() { DirectedChannelTransactionParameters_free(self); }
102         DirectedChannelTransactionParameters& operator=(DirectedChannelTransactionParameters&& o) { DirectedChannelTransactionParameters_free(self); self = o.self; memset(&o, 0, sizeof(DirectedChannelTransactionParameters)); return *this; }
103         LDKDirectedChannelTransactionParameters* operator &() { return &self; }
104         LDKDirectedChannelTransactionParameters* operator ->() { return &self; }
105         const LDKDirectedChannelTransactionParameters* operator &() const { return &self; }
106         const LDKDirectedChannelTransactionParameters* operator ->() const { return &self; }
107 };
108 class HolderCommitmentTransaction {
109 private:
110         LDKHolderCommitmentTransaction self;
111 public:
112         HolderCommitmentTransaction(const HolderCommitmentTransaction&) = delete;
113         HolderCommitmentTransaction(HolderCommitmentTransaction&& o) : self(o.self) { memset(&o, 0, sizeof(HolderCommitmentTransaction)); }
114         HolderCommitmentTransaction(LDKHolderCommitmentTransaction&& m_self) : self(m_self) { memset(&m_self, 0, sizeof(LDKHolderCommitmentTransaction)); }
115         operator LDKHolderCommitmentTransaction() && { LDKHolderCommitmentTransaction res = self; memset(&self, 0, sizeof(LDKHolderCommitmentTransaction)); return res; }
116         ~HolderCommitmentTransaction() { HolderCommitmentTransaction_free(self); }
117         HolderCommitmentTransaction& operator=(HolderCommitmentTransaction&& o) { HolderCommitmentTransaction_free(self); self = o.self; memset(&o, 0, sizeof(HolderCommitmentTransaction)); return *this; }
118         LDKHolderCommitmentTransaction* operator &() { return &self; }
119         LDKHolderCommitmentTransaction* operator ->() { return &self; }
120         const LDKHolderCommitmentTransaction* operator &() const { return &self; }
121         const LDKHolderCommitmentTransaction* operator ->() const { return &self; }
122 };
123 class BuiltCommitmentTransaction {
124 private:
125         LDKBuiltCommitmentTransaction self;
126 public:
127         BuiltCommitmentTransaction(const BuiltCommitmentTransaction&) = delete;
128         BuiltCommitmentTransaction(BuiltCommitmentTransaction&& o) : self(o.self) { memset(&o, 0, sizeof(BuiltCommitmentTransaction)); }
129         BuiltCommitmentTransaction(LDKBuiltCommitmentTransaction&& m_self) : self(m_self) { memset(&m_self, 0, sizeof(LDKBuiltCommitmentTransaction)); }
130         operator LDKBuiltCommitmentTransaction() && { LDKBuiltCommitmentTransaction res = self; memset(&self, 0, sizeof(LDKBuiltCommitmentTransaction)); return res; }
131         ~BuiltCommitmentTransaction() { BuiltCommitmentTransaction_free(self); }
132         BuiltCommitmentTransaction& operator=(BuiltCommitmentTransaction&& o) { BuiltCommitmentTransaction_free(self); self = o.self; memset(&o, 0, sizeof(BuiltCommitmentTransaction)); return *this; }
133         LDKBuiltCommitmentTransaction* operator &() { return &self; }
134         LDKBuiltCommitmentTransaction* operator ->() { return &self; }
135         const LDKBuiltCommitmentTransaction* operator &() const { return &self; }
136         const LDKBuiltCommitmentTransaction* operator ->() const { return &self; }
137 };
138 class CommitmentTransaction {
139 private:
140         LDKCommitmentTransaction self;
141 public:
142         CommitmentTransaction(const CommitmentTransaction&) = delete;
143         CommitmentTransaction(CommitmentTransaction&& o) : self(o.self) { memset(&o, 0, sizeof(CommitmentTransaction)); }
144         CommitmentTransaction(LDKCommitmentTransaction&& m_self) : self(m_self) { memset(&m_self, 0, sizeof(LDKCommitmentTransaction)); }
145         operator LDKCommitmentTransaction() && { LDKCommitmentTransaction res = self; memset(&self, 0, sizeof(LDKCommitmentTransaction)); return res; }
146         ~CommitmentTransaction() { CommitmentTransaction_free(self); }
147         CommitmentTransaction& operator=(CommitmentTransaction&& o) { CommitmentTransaction_free(self); self = o.self; memset(&o, 0, sizeof(CommitmentTransaction)); return *this; }
148         LDKCommitmentTransaction* operator &() { return &self; }
149         LDKCommitmentTransaction* operator ->() { return &self; }
150         const LDKCommitmentTransaction* operator &() const { return &self; }
151         const LDKCommitmentTransaction* operator ->() const { return &self; }
152 };
153 class TrustedCommitmentTransaction {
154 private:
155         LDKTrustedCommitmentTransaction self;
156 public:
157         TrustedCommitmentTransaction(const TrustedCommitmentTransaction&) = delete;
158         TrustedCommitmentTransaction(TrustedCommitmentTransaction&& o) : self(o.self) { memset(&o, 0, sizeof(TrustedCommitmentTransaction)); }
159         TrustedCommitmentTransaction(LDKTrustedCommitmentTransaction&& m_self) : self(m_self) { memset(&m_self, 0, sizeof(LDKTrustedCommitmentTransaction)); }
160         operator LDKTrustedCommitmentTransaction() && { LDKTrustedCommitmentTransaction res = self; memset(&self, 0, sizeof(LDKTrustedCommitmentTransaction)); return res; }
161         ~TrustedCommitmentTransaction() { TrustedCommitmentTransaction_free(self); }
162         TrustedCommitmentTransaction& operator=(TrustedCommitmentTransaction&& o) { TrustedCommitmentTransaction_free(self); self = o.self; memset(&o, 0, sizeof(TrustedCommitmentTransaction)); return *this; }
163         LDKTrustedCommitmentTransaction* operator &() { return &self; }
164         LDKTrustedCommitmentTransaction* operator ->() { return &self; }
165         const LDKTrustedCommitmentTransaction* operator &() const { return &self; }
166         const LDKTrustedCommitmentTransaction* operator ->() const { return &self; }
167 };
168 class MessageHandler {
169 private:
170         LDKMessageHandler self;
171 public:
172         MessageHandler(const MessageHandler&) = delete;
173         MessageHandler(MessageHandler&& o) : self(o.self) { memset(&o, 0, sizeof(MessageHandler)); }
174         MessageHandler(LDKMessageHandler&& m_self) : self(m_self) { memset(&m_self, 0, sizeof(LDKMessageHandler)); }
175         operator LDKMessageHandler() && { LDKMessageHandler res = self; memset(&self, 0, sizeof(LDKMessageHandler)); return res; }
176         ~MessageHandler() { MessageHandler_free(self); }
177         MessageHandler& operator=(MessageHandler&& o) { MessageHandler_free(self); self = o.self; memset(&o, 0, sizeof(MessageHandler)); return *this; }
178         LDKMessageHandler* operator &() { return &self; }
179         LDKMessageHandler* operator ->() { return &self; }
180         const LDKMessageHandler* operator &() const { return &self; }
181         const LDKMessageHandler* operator ->() const { return &self; }
182 };
183 class SocketDescriptor {
184 private:
185         LDKSocketDescriptor self;
186 public:
187         SocketDescriptor(const SocketDescriptor&) = delete;
188         SocketDescriptor(SocketDescriptor&& o) : self(o.self) { memset(&o, 0, sizeof(SocketDescriptor)); }
189         SocketDescriptor(LDKSocketDescriptor&& m_self) : self(m_self) { memset(&m_self, 0, sizeof(LDKSocketDescriptor)); }
190         operator LDKSocketDescriptor() && { LDKSocketDescriptor res = self; memset(&self, 0, sizeof(LDKSocketDescriptor)); return res; }
191         ~SocketDescriptor() { SocketDescriptor_free(self); }
192         SocketDescriptor& operator=(SocketDescriptor&& o) { SocketDescriptor_free(self); self = o.self; memset(&o, 0, sizeof(SocketDescriptor)); return *this; }
193         LDKSocketDescriptor* operator &() { return &self; }
194         LDKSocketDescriptor* operator ->() { return &self; }
195         const LDKSocketDescriptor* operator &() const { return &self; }
196         const LDKSocketDescriptor* operator ->() const { return &self; }
197 };
198 class PeerHandleError {
199 private:
200         LDKPeerHandleError self;
201 public:
202         PeerHandleError(const PeerHandleError&) = delete;
203         PeerHandleError(PeerHandleError&& o) : self(o.self) { memset(&o, 0, sizeof(PeerHandleError)); }
204         PeerHandleError(LDKPeerHandleError&& m_self) : self(m_self) { memset(&m_self, 0, sizeof(LDKPeerHandleError)); }
205         operator LDKPeerHandleError() && { LDKPeerHandleError res = self; memset(&self, 0, sizeof(LDKPeerHandleError)); return res; }
206         ~PeerHandleError() { PeerHandleError_free(self); }
207         PeerHandleError& operator=(PeerHandleError&& o) { PeerHandleError_free(self); self = o.self; memset(&o, 0, sizeof(PeerHandleError)); return *this; }
208         LDKPeerHandleError* operator &() { return &self; }
209         LDKPeerHandleError* operator ->() { return &self; }
210         const LDKPeerHandleError* operator &() const { return &self; }
211         const LDKPeerHandleError* operator ->() const { return &self; }
212 };
213 class PeerManager {
214 private:
215         LDKPeerManager self;
216 public:
217         PeerManager(const PeerManager&) = delete;
218         PeerManager(PeerManager&& o) : self(o.self) { memset(&o, 0, sizeof(PeerManager)); }
219         PeerManager(LDKPeerManager&& m_self) : self(m_self) { memset(&m_self, 0, sizeof(LDKPeerManager)); }
220         operator LDKPeerManager() && { LDKPeerManager res = self; memset(&self, 0, sizeof(LDKPeerManager)); return res; }
221         ~PeerManager() { PeerManager_free(self); }
222         PeerManager& operator=(PeerManager&& o) { PeerManager_free(self); self = o.self; memset(&o, 0, sizeof(PeerManager)); return *this; }
223         LDKPeerManager* operator &() { return &self; }
224         LDKPeerManager* operator ->() { return &self; }
225         const LDKPeerManager* operator &() const { return &self; }
226         const LDKPeerManager* operator ->() const { return &self; }
227 };
228 class InitFeatures {
229 private:
230         LDKInitFeatures self;
231 public:
232         InitFeatures(const InitFeatures&) = delete;
233         InitFeatures(InitFeatures&& o) : self(o.self) { memset(&o, 0, sizeof(InitFeatures)); }
234         InitFeatures(LDKInitFeatures&& m_self) : self(m_self) { memset(&m_self, 0, sizeof(LDKInitFeatures)); }
235         operator LDKInitFeatures() && { LDKInitFeatures res = self; memset(&self, 0, sizeof(LDKInitFeatures)); return res; }
236         ~InitFeatures() { InitFeatures_free(self); }
237         InitFeatures& operator=(InitFeatures&& o) { InitFeatures_free(self); self = o.self; memset(&o, 0, sizeof(InitFeatures)); return *this; }
238         LDKInitFeatures* operator &() { return &self; }
239         LDKInitFeatures* operator ->() { return &self; }
240         const LDKInitFeatures* operator &() const { return &self; }
241         const LDKInitFeatures* operator ->() const { return &self; }
242 };
243 class NodeFeatures {
244 private:
245         LDKNodeFeatures self;
246 public:
247         NodeFeatures(const NodeFeatures&) = delete;
248         NodeFeatures(NodeFeatures&& o) : self(o.self) { memset(&o, 0, sizeof(NodeFeatures)); }
249         NodeFeatures(LDKNodeFeatures&& m_self) : self(m_self) { memset(&m_self, 0, sizeof(LDKNodeFeatures)); }
250         operator LDKNodeFeatures() && { LDKNodeFeatures res = self; memset(&self, 0, sizeof(LDKNodeFeatures)); return res; }
251         ~NodeFeatures() { NodeFeatures_free(self); }
252         NodeFeatures& operator=(NodeFeatures&& o) { NodeFeatures_free(self); self = o.self; memset(&o, 0, sizeof(NodeFeatures)); return *this; }
253         LDKNodeFeatures* operator &() { return &self; }
254         LDKNodeFeatures* operator ->() { return &self; }
255         const LDKNodeFeatures* operator &() const { return &self; }
256         const LDKNodeFeatures* operator ->() const { return &self; }
257 };
258 class ChannelFeatures {
259 private:
260         LDKChannelFeatures self;
261 public:
262         ChannelFeatures(const ChannelFeatures&) = delete;
263         ChannelFeatures(ChannelFeatures&& o) : self(o.self) { memset(&o, 0, sizeof(ChannelFeatures)); }
264         ChannelFeatures(LDKChannelFeatures&& m_self) : self(m_self) { memset(&m_self, 0, sizeof(LDKChannelFeatures)); }
265         operator LDKChannelFeatures() && { LDKChannelFeatures res = self; memset(&self, 0, sizeof(LDKChannelFeatures)); return res; }
266         ~ChannelFeatures() { ChannelFeatures_free(self); }
267         ChannelFeatures& operator=(ChannelFeatures&& o) { ChannelFeatures_free(self); self = o.self; memset(&o, 0, sizeof(ChannelFeatures)); return *this; }
268         LDKChannelFeatures* operator &() { return &self; }
269         LDKChannelFeatures* operator ->() { return &self; }
270         const LDKChannelFeatures* operator &() const { return &self; }
271         const LDKChannelFeatures* operator ->() const { return &self; }
272 };
273 class ChannelHandshakeConfig {
274 private:
275         LDKChannelHandshakeConfig self;
276 public:
277         ChannelHandshakeConfig(const ChannelHandshakeConfig&) = delete;
278         ChannelHandshakeConfig(ChannelHandshakeConfig&& o) : self(o.self) { memset(&o, 0, sizeof(ChannelHandshakeConfig)); }
279         ChannelHandshakeConfig(LDKChannelHandshakeConfig&& m_self) : self(m_self) { memset(&m_self, 0, sizeof(LDKChannelHandshakeConfig)); }
280         operator LDKChannelHandshakeConfig() && { LDKChannelHandshakeConfig res = self; memset(&self, 0, sizeof(LDKChannelHandshakeConfig)); return res; }
281         ~ChannelHandshakeConfig() { ChannelHandshakeConfig_free(self); }
282         ChannelHandshakeConfig& operator=(ChannelHandshakeConfig&& o) { ChannelHandshakeConfig_free(self); self = o.self; memset(&o, 0, sizeof(ChannelHandshakeConfig)); return *this; }
283         LDKChannelHandshakeConfig* operator &() { return &self; }
284         LDKChannelHandshakeConfig* operator ->() { return &self; }
285         const LDKChannelHandshakeConfig* operator &() const { return &self; }
286         const LDKChannelHandshakeConfig* operator ->() const { return &self; }
287 };
288 class ChannelHandshakeLimits {
289 private:
290         LDKChannelHandshakeLimits self;
291 public:
292         ChannelHandshakeLimits(const ChannelHandshakeLimits&) = delete;
293         ChannelHandshakeLimits(ChannelHandshakeLimits&& o) : self(o.self) { memset(&o, 0, sizeof(ChannelHandshakeLimits)); }
294         ChannelHandshakeLimits(LDKChannelHandshakeLimits&& m_self) : self(m_self) { memset(&m_self, 0, sizeof(LDKChannelHandshakeLimits)); }
295         operator LDKChannelHandshakeLimits() && { LDKChannelHandshakeLimits res = self; memset(&self, 0, sizeof(LDKChannelHandshakeLimits)); return res; }
296         ~ChannelHandshakeLimits() { ChannelHandshakeLimits_free(self); }
297         ChannelHandshakeLimits& operator=(ChannelHandshakeLimits&& o) { ChannelHandshakeLimits_free(self); self = o.self; memset(&o, 0, sizeof(ChannelHandshakeLimits)); return *this; }
298         LDKChannelHandshakeLimits* operator &() { return &self; }
299         LDKChannelHandshakeLimits* operator ->() { return &self; }
300         const LDKChannelHandshakeLimits* operator &() const { return &self; }
301         const LDKChannelHandshakeLimits* operator ->() const { return &self; }
302 };
303 class ChannelConfig {
304 private:
305         LDKChannelConfig self;
306 public:
307         ChannelConfig(const ChannelConfig&) = delete;
308         ChannelConfig(ChannelConfig&& o) : self(o.self) { memset(&o, 0, sizeof(ChannelConfig)); }
309         ChannelConfig(LDKChannelConfig&& m_self) : self(m_self) { memset(&m_self, 0, sizeof(LDKChannelConfig)); }
310         operator LDKChannelConfig() && { LDKChannelConfig res = self; memset(&self, 0, sizeof(LDKChannelConfig)); return res; }
311         ~ChannelConfig() { ChannelConfig_free(self); }
312         ChannelConfig& operator=(ChannelConfig&& o) { ChannelConfig_free(self); self = o.self; memset(&o, 0, sizeof(ChannelConfig)); return *this; }
313         LDKChannelConfig* operator &() { return &self; }
314         LDKChannelConfig* operator ->() { return &self; }
315         const LDKChannelConfig* operator &() const { return &self; }
316         const LDKChannelConfig* operator ->() const { return &self; }
317 };
318 class UserConfig {
319 private:
320         LDKUserConfig self;
321 public:
322         UserConfig(const UserConfig&) = delete;
323         UserConfig(UserConfig&& o) : self(o.self) { memset(&o, 0, sizeof(UserConfig)); }
324         UserConfig(LDKUserConfig&& m_self) : self(m_self) { memset(&m_self, 0, sizeof(LDKUserConfig)); }
325         operator LDKUserConfig() && { LDKUserConfig res = self; memset(&self, 0, sizeof(LDKUserConfig)); return res; }
326         ~UserConfig() { UserConfig_free(self); }
327         UserConfig& operator=(UserConfig&& o) { UserConfig_free(self); self = o.self; memset(&o, 0, sizeof(UserConfig)); return *this; }
328         LDKUserConfig* operator &() { return &self; }
329         LDKUserConfig* operator ->() { return &self; }
330         const LDKUserConfig* operator &() const { return &self; }
331         const LDKUserConfig* operator ->() const { return &self; }
332 };
333 class NetworkGraph {
334 private:
335         LDKNetworkGraph self;
336 public:
337         NetworkGraph(const NetworkGraph&) = delete;
338         NetworkGraph(NetworkGraph&& o) : self(o.self) { memset(&o, 0, sizeof(NetworkGraph)); }
339         NetworkGraph(LDKNetworkGraph&& m_self) : self(m_self) { memset(&m_self, 0, sizeof(LDKNetworkGraph)); }
340         operator LDKNetworkGraph() && { LDKNetworkGraph res = self; memset(&self, 0, sizeof(LDKNetworkGraph)); return res; }
341         ~NetworkGraph() { NetworkGraph_free(self); }
342         NetworkGraph& operator=(NetworkGraph&& o) { NetworkGraph_free(self); self = o.self; memset(&o, 0, sizeof(NetworkGraph)); return *this; }
343         LDKNetworkGraph* operator &() { return &self; }
344         LDKNetworkGraph* operator ->() { return &self; }
345         const LDKNetworkGraph* operator &() const { return &self; }
346         const LDKNetworkGraph* operator ->() const { return &self; }
347 };
348 class LockedNetworkGraph {
349 private:
350         LDKLockedNetworkGraph self;
351 public:
352         LockedNetworkGraph(const LockedNetworkGraph&) = delete;
353         LockedNetworkGraph(LockedNetworkGraph&& o) : self(o.self) { memset(&o, 0, sizeof(LockedNetworkGraph)); }
354         LockedNetworkGraph(LDKLockedNetworkGraph&& m_self) : self(m_self) { memset(&m_self, 0, sizeof(LDKLockedNetworkGraph)); }
355         operator LDKLockedNetworkGraph() && { LDKLockedNetworkGraph res = self; memset(&self, 0, sizeof(LDKLockedNetworkGraph)); return res; }
356         ~LockedNetworkGraph() { LockedNetworkGraph_free(self); }
357         LockedNetworkGraph& operator=(LockedNetworkGraph&& o) { LockedNetworkGraph_free(self); self = o.self; memset(&o, 0, sizeof(LockedNetworkGraph)); return *this; }
358         LDKLockedNetworkGraph* operator &() { return &self; }
359         LDKLockedNetworkGraph* operator ->() { return &self; }
360         const LDKLockedNetworkGraph* operator &() const { return &self; }
361         const LDKLockedNetworkGraph* operator ->() const { return &self; }
362 };
363 class NetGraphMsgHandler {
364 private:
365         LDKNetGraphMsgHandler self;
366 public:
367         NetGraphMsgHandler(const NetGraphMsgHandler&) = delete;
368         NetGraphMsgHandler(NetGraphMsgHandler&& o) : self(o.self) { memset(&o, 0, sizeof(NetGraphMsgHandler)); }
369         NetGraphMsgHandler(LDKNetGraphMsgHandler&& m_self) : self(m_self) { memset(&m_self, 0, sizeof(LDKNetGraphMsgHandler)); }
370         operator LDKNetGraphMsgHandler() && { LDKNetGraphMsgHandler res = self; memset(&self, 0, sizeof(LDKNetGraphMsgHandler)); return res; }
371         ~NetGraphMsgHandler() { NetGraphMsgHandler_free(self); }
372         NetGraphMsgHandler& operator=(NetGraphMsgHandler&& o) { NetGraphMsgHandler_free(self); self = o.self; memset(&o, 0, sizeof(NetGraphMsgHandler)); return *this; }
373         LDKNetGraphMsgHandler* operator &() { return &self; }
374         LDKNetGraphMsgHandler* operator ->() { return &self; }
375         const LDKNetGraphMsgHandler* operator &() const { return &self; }
376         const LDKNetGraphMsgHandler* operator ->() const { return &self; }
377 };
378 class DirectionalChannelInfo {
379 private:
380         LDKDirectionalChannelInfo self;
381 public:
382         DirectionalChannelInfo(const DirectionalChannelInfo&) = delete;
383         DirectionalChannelInfo(DirectionalChannelInfo&& o) : self(o.self) { memset(&o, 0, sizeof(DirectionalChannelInfo)); }
384         DirectionalChannelInfo(LDKDirectionalChannelInfo&& m_self) : self(m_self) { memset(&m_self, 0, sizeof(LDKDirectionalChannelInfo)); }
385         operator LDKDirectionalChannelInfo() && { LDKDirectionalChannelInfo res = self; memset(&self, 0, sizeof(LDKDirectionalChannelInfo)); return res; }
386         ~DirectionalChannelInfo() { DirectionalChannelInfo_free(self); }
387         DirectionalChannelInfo& operator=(DirectionalChannelInfo&& o) { DirectionalChannelInfo_free(self); self = o.self; memset(&o, 0, sizeof(DirectionalChannelInfo)); return *this; }
388         LDKDirectionalChannelInfo* operator &() { return &self; }
389         LDKDirectionalChannelInfo* operator ->() { return &self; }
390         const LDKDirectionalChannelInfo* operator &() const { return &self; }
391         const LDKDirectionalChannelInfo* operator ->() const { return &self; }
392 };
393 class ChannelInfo {
394 private:
395         LDKChannelInfo self;
396 public:
397         ChannelInfo(const ChannelInfo&) = delete;
398         ChannelInfo(ChannelInfo&& o) : self(o.self) { memset(&o, 0, sizeof(ChannelInfo)); }
399         ChannelInfo(LDKChannelInfo&& m_self) : self(m_self) { memset(&m_self, 0, sizeof(LDKChannelInfo)); }
400         operator LDKChannelInfo() && { LDKChannelInfo res = self; memset(&self, 0, sizeof(LDKChannelInfo)); return res; }
401         ~ChannelInfo() { ChannelInfo_free(self); }
402         ChannelInfo& operator=(ChannelInfo&& o) { ChannelInfo_free(self); self = o.self; memset(&o, 0, sizeof(ChannelInfo)); return *this; }
403         LDKChannelInfo* operator &() { return &self; }
404         LDKChannelInfo* operator ->() { return &self; }
405         const LDKChannelInfo* operator &() const { return &self; }
406         const LDKChannelInfo* operator ->() const { return &self; }
407 };
408 class RoutingFees {
409 private:
410         LDKRoutingFees self;
411 public:
412         RoutingFees(const RoutingFees&) = delete;
413         RoutingFees(RoutingFees&& o) : self(o.self) { memset(&o, 0, sizeof(RoutingFees)); }
414         RoutingFees(LDKRoutingFees&& m_self) : self(m_self) { memset(&m_self, 0, sizeof(LDKRoutingFees)); }
415         operator LDKRoutingFees() && { LDKRoutingFees res = self; memset(&self, 0, sizeof(LDKRoutingFees)); return res; }
416         ~RoutingFees() { RoutingFees_free(self); }
417         RoutingFees& operator=(RoutingFees&& o) { RoutingFees_free(self); self = o.self; memset(&o, 0, sizeof(RoutingFees)); return *this; }
418         LDKRoutingFees* operator &() { return &self; }
419         LDKRoutingFees* operator ->() { return &self; }
420         const LDKRoutingFees* operator &() const { return &self; }
421         const LDKRoutingFees* operator ->() const { return &self; }
422 };
423 class NodeAnnouncementInfo {
424 private:
425         LDKNodeAnnouncementInfo self;
426 public:
427         NodeAnnouncementInfo(const NodeAnnouncementInfo&) = delete;
428         NodeAnnouncementInfo(NodeAnnouncementInfo&& o) : self(o.self) { memset(&o, 0, sizeof(NodeAnnouncementInfo)); }
429         NodeAnnouncementInfo(LDKNodeAnnouncementInfo&& m_self) : self(m_self) { memset(&m_self, 0, sizeof(LDKNodeAnnouncementInfo)); }
430         operator LDKNodeAnnouncementInfo() && { LDKNodeAnnouncementInfo res = self; memset(&self, 0, sizeof(LDKNodeAnnouncementInfo)); return res; }
431         ~NodeAnnouncementInfo() { NodeAnnouncementInfo_free(self); }
432         NodeAnnouncementInfo& operator=(NodeAnnouncementInfo&& o) { NodeAnnouncementInfo_free(self); self = o.self; memset(&o, 0, sizeof(NodeAnnouncementInfo)); return *this; }
433         LDKNodeAnnouncementInfo* operator &() { return &self; }
434         LDKNodeAnnouncementInfo* operator ->() { return &self; }
435         const LDKNodeAnnouncementInfo* operator &() const { return &self; }
436         const LDKNodeAnnouncementInfo* operator ->() const { return &self; }
437 };
438 class NodeInfo {
439 private:
440         LDKNodeInfo self;
441 public:
442         NodeInfo(const NodeInfo&) = delete;
443         NodeInfo(NodeInfo&& o) : self(o.self) { memset(&o, 0, sizeof(NodeInfo)); }
444         NodeInfo(LDKNodeInfo&& m_self) : self(m_self) { memset(&m_self, 0, sizeof(LDKNodeInfo)); }
445         operator LDKNodeInfo() && { LDKNodeInfo res = self; memset(&self, 0, sizeof(LDKNodeInfo)); return res; }
446         ~NodeInfo() { NodeInfo_free(self); }
447         NodeInfo& operator=(NodeInfo&& o) { NodeInfo_free(self); self = o.self; memset(&o, 0, sizeof(NodeInfo)); return *this; }
448         LDKNodeInfo* operator &() { return &self; }
449         LDKNodeInfo* operator ->() { return &self; }
450         const LDKNodeInfo* operator &() const { return &self; }
451         const LDKNodeInfo* operator ->() const { return &self; }
452 };
453 class Level {
454 private:
455         LDKLevel self;
456 public:
457         Level(const Level&) = delete;
458         Level(Level&& o) : self(o.self) { memset(&o, 0, sizeof(Level)); }
459         Level(LDKLevel&& m_self) : self(m_self) { memset(&m_self, 0, sizeof(LDKLevel)); }
460         operator LDKLevel() && { LDKLevel res = self; memset(&self, 0, sizeof(LDKLevel)); return res; }
461         Level& operator=(Level&& o) { self = o.self; memset(&o, 0, sizeof(Level)); return *this; }
462         LDKLevel* operator &() { return &self; }
463         LDKLevel* operator ->() { return &self; }
464         const LDKLevel* operator &() const { return &self; }
465         const LDKLevel* operator ->() const { return &self; }
466 };
467 class Logger {
468 private:
469         LDKLogger self;
470 public:
471         Logger(const Logger&) = delete;
472         Logger(Logger&& o) : self(o.self) { memset(&o, 0, sizeof(Logger)); }
473         Logger(LDKLogger&& m_self) : self(m_self) { memset(&m_self, 0, sizeof(LDKLogger)); }
474         operator LDKLogger() && { LDKLogger res = self; memset(&self, 0, sizeof(LDKLogger)); return res; }
475         ~Logger() { Logger_free(self); }
476         Logger& operator=(Logger&& o) { Logger_free(self); self = o.self; memset(&o, 0, sizeof(Logger)); return *this; }
477         LDKLogger* operator &() { return &self; }
478         LDKLogger* operator ->() { return &self; }
479         const LDKLogger* operator &() const { return &self; }
480         const LDKLogger* operator ->() const { return &self; }
481 };
482 class ChainMonitor {
483 private:
484         LDKChainMonitor self;
485 public:
486         ChainMonitor(const ChainMonitor&) = delete;
487         ChainMonitor(ChainMonitor&& o) : self(o.self) { memset(&o, 0, sizeof(ChainMonitor)); }
488         ChainMonitor(LDKChainMonitor&& m_self) : self(m_self) { memset(&m_self, 0, sizeof(LDKChainMonitor)); }
489         operator LDKChainMonitor() && { LDKChainMonitor res = self; memset(&self, 0, sizeof(LDKChainMonitor)); return res; }
490         ~ChainMonitor() { ChainMonitor_free(self); }
491         ChainMonitor& operator=(ChainMonitor&& o) { ChainMonitor_free(self); self = o.self; memset(&o, 0, sizeof(ChainMonitor)); return *this; }
492         LDKChainMonitor* operator &() { return &self; }
493         LDKChainMonitor* operator ->() { return &self; }
494         const LDKChainMonitor* operator &() const { return &self; }
495         const LDKChainMonitor* operator ->() const { return &self; }
496 };
497 class OutPoint {
498 private:
499         LDKOutPoint self;
500 public:
501         OutPoint(const OutPoint&) = delete;
502         OutPoint(OutPoint&& o) : self(o.self) { memset(&o, 0, sizeof(OutPoint)); }
503         OutPoint(LDKOutPoint&& m_self) : self(m_self) { memset(&m_self, 0, sizeof(LDKOutPoint)); }
504         operator LDKOutPoint() && { LDKOutPoint res = self; memset(&self, 0, sizeof(LDKOutPoint)); return res; }
505         ~OutPoint() { OutPoint_free(self); }
506         OutPoint& operator=(OutPoint&& o) { OutPoint_free(self); self = o.self; memset(&o, 0, sizeof(OutPoint)); return *this; }
507         LDKOutPoint* operator &() { return &self; }
508         LDKOutPoint* operator ->() { return &self; }
509         const LDKOutPoint* operator &() const { return &self; }
510         const LDKOutPoint* operator ->() const { return &self; }
511 };
512 class ChannelMonitorUpdate {
513 private:
514         LDKChannelMonitorUpdate self;
515 public:
516         ChannelMonitorUpdate(const ChannelMonitorUpdate&) = delete;
517         ChannelMonitorUpdate(ChannelMonitorUpdate&& o) : self(o.self) { memset(&o, 0, sizeof(ChannelMonitorUpdate)); }
518         ChannelMonitorUpdate(LDKChannelMonitorUpdate&& m_self) : self(m_self) { memset(&m_self, 0, sizeof(LDKChannelMonitorUpdate)); }
519         operator LDKChannelMonitorUpdate() && { LDKChannelMonitorUpdate res = self; memset(&self, 0, sizeof(LDKChannelMonitorUpdate)); return res; }
520         ~ChannelMonitorUpdate() { ChannelMonitorUpdate_free(self); }
521         ChannelMonitorUpdate& operator=(ChannelMonitorUpdate&& o) { ChannelMonitorUpdate_free(self); self = o.self; memset(&o, 0, sizeof(ChannelMonitorUpdate)); return *this; }
522         LDKChannelMonitorUpdate* operator &() { return &self; }
523         LDKChannelMonitorUpdate* operator ->() { return &self; }
524         const LDKChannelMonitorUpdate* operator &() const { return &self; }
525         const LDKChannelMonitorUpdate* operator ->() const { return &self; }
526 };
527 class ChannelMonitorUpdateErr {
528 private:
529         LDKChannelMonitorUpdateErr self;
530 public:
531         ChannelMonitorUpdateErr(const ChannelMonitorUpdateErr&) = delete;
532         ChannelMonitorUpdateErr(ChannelMonitorUpdateErr&& o) : self(o.self) { memset(&o, 0, sizeof(ChannelMonitorUpdateErr)); }
533         ChannelMonitorUpdateErr(LDKChannelMonitorUpdateErr&& m_self) : self(m_self) { memset(&m_self, 0, sizeof(LDKChannelMonitorUpdateErr)); }
534         operator LDKChannelMonitorUpdateErr() && { LDKChannelMonitorUpdateErr res = self; memset(&self, 0, sizeof(LDKChannelMonitorUpdateErr)); return res; }
535         ChannelMonitorUpdateErr& operator=(ChannelMonitorUpdateErr&& o) { self = o.self; memset(&o, 0, sizeof(ChannelMonitorUpdateErr)); return *this; }
536         LDKChannelMonitorUpdateErr* operator &() { return &self; }
537         LDKChannelMonitorUpdateErr* operator ->() { return &self; }
538         const LDKChannelMonitorUpdateErr* operator &() const { return &self; }
539         const LDKChannelMonitorUpdateErr* operator ->() const { return &self; }
540 };
541 class MonitorUpdateError {
542 private:
543         LDKMonitorUpdateError self;
544 public:
545         MonitorUpdateError(const MonitorUpdateError&) = delete;
546         MonitorUpdateError(MonitorUpdateError&& o) : self(o.self) { memset(&o, 0, sizeof(MonitorUpdateError)); }
547         MonitorUpdateError(LDKMonitorUpdateError&& m_self) : self(m_self) { memset(&m_self, 0, sizeof(LDKMonitorUpdateError)); }
548         operator LDKMonitorUpdateError() && { LDKMonitorUpdateError res = self; memset(&self, 0, sizeof(LDKMonitorUpdateError)); return res; }
549         ~MonitorUpdateError() { MonitorUpdateError_free(self); }
550         MonitorUpdateError& operator=(MonitorUpdateError&& o) { MonitorUpdateError_free(self); self = o.self; memset(&o, 0, sizeof(MonitorUpdateError)); return *this; }
551         LDKMonitorUpdateError* operator &() { return &self; }
552         LDKMonitorUpdateError* operator ->() { return &self; }
553         const LDKMonitorUpdateError* operator &() const { return &self; }
554         const LDKMonitorUpdateError* operator ->() const { return &self; }
555 };
556 class MonitorEvent {
557 private:
558         LDKMonitorEvent self;
559 public:
560         MonitorEvent(const MonitorEvent&) = delete;
561         MonitorEvent(MonitorEvent&& o) : self(o.self) { memset(&o, 0, sizeof(MonitorEvent)); }
562         MonitorEvent(LDKMonitorEvent&& m_self) : self(m_self) { memset(&m_self, 0, sizeof(LDKMonitorEvent)); }
563         operator LDKMonitorEvent() && { LDKMonitorEvent res = self; memset(&self, 0, sizeof(LDKMonitorEvent)); return res; }
564         ~MonitorEvent() { MonitorEvent_free(self); }
565         MonitorEvent& operator=(MonitorEvent&& o) { MonitorEvent_free(self); self = o.self; memset(&o, 0, sizeof(MonitorEvent)); return *this; }
566         LDKMonitorEvent* operator &() { return &self; }
567         LDKMonitorEvent* operator ->() { return &self; }
568         const LDKMonitorEvent* operator &() const { return &self; }
569         const LDKMonitorEvent* operator ->() const { return &self; }
570 };
571 class HTLCUpdate {
572 private:
573         LDKHTLCUpdate self;
574 public:
575         HTLCUpdate(const HTLCUpdate&) = delete;
576         HTLCUpdate(HTLCUpdate&& o) : self(o.self) { memset(&o, 0, sizeof(HTLCUpdate)); }
577         HTLCUpdate(LDKHTLCUpdate&& m_self) : self(m_self) { memset(&m_self, 0, sizeof(LDKHTLCUpdate)); }
578         operator LDKHTLCUpdate() && { LDKHTLCUpdate res = self; memset(&self, 0, sizeof(LDKHTLCUpdate)); return res; }
579         ~HTLCUpdate() { HTLCUpdate_free(self); }
580         HTLCUpdate& operator=(HTLCUpdate&& o) { HTLCUpdate_free(self); self = o.self; memset(&o, 0, sizeof(HTLCUpdate)); return *this; }
581         LDKHTLCUpdate* operator &() { return &self; }
582         LDKHTLCUpdate* operator ->() { return &self; }
583         const LDKHTLCUpdate* operator &() const { return &self; }
584         const LDKHTLCUpdate* operator ->() const { return &self; }
585 };
586 class ChannelMonitor {
587 private:
588         LDKChannelMonitor self;
589 public:
590         ChannelMonitor(const ChannelMonitor&) = delete;
591         ChannelMonitor(ChannelMonitor&& o) : self(o.self) { memset(&o, 0, sizeof(ChannelMonitor)); }
592         ChannelMonitor(LDKChannelMonitor&& m_self) : self(m_self) { memset(&m_self, 0, sizeof(LDKChannelMonitor)); }
593         operator LDKChannelMonitor() && { LDKChannelMonitor res = self; memset(&self, 0, sizeof(LDKChannelMonitor)); return res; }
594         ~ChannelMonitor() { ChannelMonitor_free(self); }
595         ChannelMonitor& operator=(ChannelMonitor&& o) { ChannelMonitor_free(self); self = o.self; memset(&o, 0, sizeof(ChannelMonitor)); return *this; }
596         LDKChannelMonitor* operator &() { return &self; }
597         LDKChannelMonitor* operator ->() { return &self; }
598         const LDKChannelMonitor* operator &() const { return &self; }
599         const LDKChannelMonitor* operator ->() const { return &self; }
600 };
601 class Persist {
602 private:
603         LDKPersist self;
604 public:
605         Persist(const Persist&) = delete;
606         Persist(Persist&& o) : self(o.self) { memset(&o, 0, sizeof(Persist)); }
607         Persist(LDKPersist&& m_self) : self(m_self) { memset(&m_self, 0, sizeof(LDKPersist)); }
608         operator LDKPersist() && { LDKPersist res = self; memset(&self, 0, sizeof(LDKPersist)); return res; }
609         ~Persist() { Persist_free(self); }
610         Persist& operator=(Persist&& o) { Persist_free(self); self = o.self; memset(&o, 0, sizeof(Persist)); return *this; }
611         LDKPersist* operator &() { return &self; }
612         LDKPersist* operator ->() { return &self; }
613         const LDKPersist* operator &() const { return &self; }
614         const LDKPersist* operator ->() const { return &self; }
615 };
616 class Event {
617 private:
618         LDKEvent self;
619 public:
620         Event(const Event&) = delete;
621         Event(Event&& o) : self(o.self) { memset(&o, 0, sizeof(Event)); }
622         Event(LDKEvent&& m_self) : self(m_self) { memset(&m_self, 0, sizeof(LDKEvent)); }
623         operator LDKEvent() && { LDKEvent res = self; memset(&self, 0, sizeof(LDKEvent)); return res; }
624         ~Event() { Event_free(self); }
625         Event& operator=(Event&& o) { Event_free(self); self = o.self; memset(&o, 0, sizeof(Event)); return *this; }
626         LDKEvent* operator &() { return &self; }
627         LDKEvent* operator ->() { return &self; }
628         const LDKEvent* operator &() const { return &self; }
629         const LDKEvent* operator ->() const { return &self; }
630 };
631 class MessageSendEvent {
632 private:
633         LDKMessageSendEvent self;
634 public:
635         MessageSendEvent(const MessageSendEvent&) = delete;
636         MessageSendEvent(MessageSendEvent&& o) : self(o.self) { memset(&o, 0, sizeof(MessageSendEvent)); }
637         MessageSendEvent(LDKMessageSendEvent&& m_self) : self(m_self) { memset(&m_self, 0, sizeof(LDKMessageSendEvent)); }
638         operator LDKMessageSendEvent() && { LDKMessageSendEvent res = self; memset(&self, 0, sizeof(LDKMessageSendEvent)); return res; }
639         ~MessageSendEvent() { MessageSendEvent_free(self); }
640         MessageSendEvent& operator=(MessageSendEvent&& o) { MessageSendEvent_free(self); self = o.self; memset(&o, 0, sizeof(MessageSendEvent)); return *this; }
641         LDKMessageSendEvent* operator &() { return &self; }
642         LDKMessageSendEvent* operator ->() { return &self; }
643         const LDKMessageSendEvent* operator &() const { return &self; }
644         const LDKMessageSendEvent* operator ->() const { return &self; }
645 };
646 class MessageSendEventsProvider {
647 private:
648         LDKMessageSendEventsProvider self;
649 public:
650         MessageSendEventsProvider(const MessageSendEventsProvider&) = delete;
651         MessageSendEventsProvider(MessageSendEventsProvider&& o) : self(o.self) { memset(&o, 0, sizeof(MessageSendEventsProvider)); }
652         MessageSendEventsProvider(LDKMessageSendEventsProvider&& m_self) : self(m_self) { memset(&m_self, 0, sizeof(LDKMessageSendEventsProvider)); }
653         operator LDKMessageSendEventsProvider() && { LDKMessageSendEventsProvider res = self; memset(&self, 0, sizeof(LDKMessageSendEventsProvider)); return res; }
654         ~MessageSendEventsProvider() { MessageSendEventsProvider_free(self); }
655         MessageSendEventsProvider& operator=(MessageSendEventsProvider&& o) { MessageSendEventsProvider_free(self); self = o.self; memset(&o, 0, sizeof(MessageSendEventsProvider)); return *this; }
656         LDKMessageSendEventsProvider* operator &() { return &self; }
657         LDKMessageSendEventsProvider* operator ->() { return &self; }
658         const LDKMessageSendEventsProvider* operator &() const { return &self; }
659         const LDKMessageSendEventsProvider* operator ->() const { return &self; }
660 };
661 class EventsProvider {
662 private:
663         LDKEventsProvider self;
664 public:
665         EventsProvider(const EventsProvider&) = delete;
666         EventsProvider(EventsProvider&& o) : self(o.self) { memset(&o, 0, sizeof(EventsProvider)); }
667         EventsProvider(LDKEventsProvider&& m_self) : self(m_self) { memset(&m_self, 0, sizeof(LDKEventsProvider)); }
668         operator LDKEventsProvider() && { LDKEventsProvider res = self; memset(&self, 0, sizeof(LDKEventsProvider)); return res; }
669         ~EventsProvider() { EventsProvider_free(self); }
670         EventsProvider& operator=(EventsProvider&& o) { EventsProvider_free(self); self = o.self; memset(&o, 0, sizeof(EventsProvider)); return *this; }
671         LDKEventsProvider* operator &() { return &self; }
672         LDKEventsProvider* operator ->() { return &self; }
673         const LDKEventsProvider* operator &() const { return &self; }
674         const LDKEventsProvider* operator ->() const { return &self; }
675 };
676 class AccessError {
677 private:
678         LDKAccessError self;
679 public:
680         AccessError(const AccessError&) = delete;
681         AccessError(AccessError&& o) : self(o.self) { memset(&o, 0, sizeof(AccessError)); }
682         AccessError(LDKAccessError&& m_self) : self(m_self) { memset(&m_self, 0, sizeof(LDKAccessError)); }
683         operator LDKAccessError() && { LDKAccessError res = self; memset(&self, 0, sizeof(LDKAccessError)); return res; }
684         AccessError& operator=(AccessError&& o) { self = o.self; memset(&o, 0, sizeof(AccessError)); return *this; }
685         LDKAccessError* operator &() { return &self; }
686         LDKAccessError* operator ->() { return &self; }
687         const LDKAccessError* operator &() const { return &self; }
688         const LDKAccessError* operator ->() const { return &self; }
689 };
690 class Access {
691 private:
692         LDKAccess self;
693 public:
694         Access(const Access&) = delete;
695         Access(Access&& o) : self(o.self) { memset(&o, 0, sizeof(Access)); }
696         Access(LDKAccess&& m_self) : self(m_self) { memset(&m_self, 0, sizeof(LDKAccess)); }
697         operator LDKAccess() && { LDKAccess res = self; memset(&self, 0, sizeof(LDKAccess)); return res; }
698         ~Access() { Access_free(self); }
699         Access& operator=(Access&& o) { Access_free(self); self = o.self; memset(&o, 0, sizeof(Access)); return *this; }
700         LDKAccess* operator &() { return &self; }
701         LDKAccess* operator ->() { return &self; }
702         const LDKAccess* operator &() const { return &self; }
703         const LDKAccess* operator ->() const { return &self; }
704 };
705 class Watch {
706 private:
707         LDKWatch self;
708 public:
709         Watch(const Watch&) = delete;
710         Watch(Watch&& o) : self(o.self) { memset(&o, 0, sizeof(Watch)); }
711         Watch(LDKWatch&& m_self) : self(m_self) { memset(&m_self, 0, sizeof(LDKWatch)); }
712         operator LDKWatch() && { LDKWatch res = self; memset(&self, 0, sizeof(LDKWatch)); return res; }
713         ~Watch() { Watch_free(self); }
714         Watch& operator=(Watch&& o) { Watch_free(self); self = o.self; memset(&o, 0, sizeof(Watch)); return *this; }
715         LDKWatch* operator &() { return &self; }
716         LDKWatch* operator ->() { return &self; }
717         const LDKWatch* operator &() const { return &self; }
718         const LDKWatch* operator ->() const { return &self; }
719 };
720 class Filter {
721 private:
722         LDKFilter self;
723 public:
724         Filter(const Filter&) = delete;
725         Filter(Filter&& o) : self(o.self) { memset(&o, 0, sizeof(Filter)); }
726         Filter(LDKFilter&& m_self) : self(m_self) { memset(&m_self, 0, sizeof(LDKFilter)); }
727         operator LDKFilter() && { LDKFilter res = self; memset(&self, 0, sizeof(LDKFilter)); return res; }
728         ~Filter() { Filter_free(self); }
729         Filter& operator=(Filter&& o) { Filter_free(self); self = o.self; memset(&o, 0, sizeof(Filter)); return *this; }
730         LDKFilter* operator &() { return &self; }
731         LDKFilter* operator ->() { return &self; }
732         const LDKFilter* operator &() const { return &self; }
733         const LDKFilter* operator ->() const { return &self; }
734 };
735 class BroadcasterInterface {
736 private:
737         LDKBroadcasterInterface self;
738 public:
739         BroadcasterInterface(const BroadcasterInterface&) = delete;
740         BroadcasterInterface(BroadcasterInterface&& o) : self(o.self) { memset(&o, 0, sizeof(BroadcasterInterface)); }
741         BroadcasterInterface(LDKBroadcasterInterface&& m_self) : self(m_self) { memset(&m_self, 0, sizeof(LDKBroadcasterInterface)); }
742         operator LDKBroadcasterInterface() && { LDKBroadcasterInterface res = self; memset(&self, 0, sizeof(LDKBroadcasterInterface)); return res; }
743         ~BroadcasterInterface() { BroadcasterInterface_free(self); }
744         BroadcasterInterface& operator=(BroadcasterInterface&& o) { BroadcasterInterface_free(self); self = o.self; memset(&o, 0, sizeof(BroadcasterInterface)); return *this; }
745         LDKBroadcasterInterface* operator &() { return &self; }
746         LDKBroadcasterInterface* operator ->() { return &self; }
747         const LDKBroadcasterInterface* operator &() const { return &self; }
748         const LDKBroadcasterInterface* operator ->() const { return &self; }
749 };
750 class ConfirmationTarget {
751 private:
752         LDKConfirmationTarget self;
753 public:
754         ConfirmationTarget(const ConfirmationTarget&) = delete;
755         ConfirmationTarget(ConfirmationTarget&& o) : self(o.self) { memset(&o, 0, sizeof(ConfirmationTarget)); }
756         ConfirmationTarget(LDKConfirmationTarget&& m_self) : self(m_self) { memset(&m_self, 0, sizeof(LDKConfirmationTarget)); }
757         operator LDKConfirmationTarget() && { LDKConfirmationTarget res = self; memset(&self, 0, sizeof(LDKConfirmationTarget)); return res; }
758         ConfirmationTarget& operator=(ConfirmationTarget&& o) { self = o.self; memset(&o, 0, sizeof(ConfirmationTarget)); return *this; }
759         LDKConfirmationTarget* operator &() { return &self; }
760         LDKConfirmationTarget* operator ->() { return &self; }
761         const LDKConfirmationTarget* operator &() const { return &self; }
762         const LDKConfirmationTarget* operator ->() const { return &self; }
763 };
764 class FeeEstimator {
765 private:
766         LDKFeeEstimator self;
767 public:
768         FeeEstimator(const FeeEstimator&) = delete;
769         FeeEstimator(FeeEstimator&& o) : self(o.self) { memset(&o, 0, sizeof(FeeEstimator)); }
770         FeeEstimator(LDKFeeEstimator&& m_self) : self(m_self) { memset(&m_self, 0, sizeof(LDKFeeEstimator)); }
771         operator LDKFeeEstimator() && { LDKFeeEstimator res = self; memset(&self, 0, sizeof(LDKFeeEstimator)); return res; }
772         ~FeeEstimator() { FeeEstimator_free(self); }
773         FeeEstimator& operator=(FeeEstimator&& o) { FeeEstimator_free(self); self = o.self; memset(&o, 0, sizeof(FeeEstimator)); return *this; }
774         LDKFeeEstimator* operator &() { return &self; }
775         LDKFeeEstimator* operator ->() { return &self; }
776         const LDKFeeEstimator* operator &() const { return &self; }
777         const LDKFeeEstimator* operator ->() const { return &self; }
778 };
779 class ChannelManager {
780 private:
781         LDKChannelManager self;
782 public:
783         ChannelManager(const ChannelManager&) = delete;
784         ChannelManager(ChannelManager&& o) : self(o.self) { memset(&o, 0, sizeof(ChannelManager)); }
785         ChannelManager(LDKChannelManager&& m_self) : self(m_self) { memset(&m_self, 0, sizeof(LDKChannelManager)); }
786         operator LDKChannelManager() && { LDKChannelManager res = self; memset(&self, 0, sizeof(LDKChannelManager)); return res; }
787         ~ChannelManager() { ChannelManager_free(self); }
788         ChannelManager& operator=(ChannelManager&& o) { ChannelManager_free(self); self = o.self; memset(&o, 0, sizeof(ChannelManager)); return *this; }
789         LDKChannelManager* operator &() { return &self; }
790         LDKChannelManager* operator ->() { return &self; }
791         const LDKChannelManager* operator &() const { return &self; }
792         const LDKChannelManager* operator ->() const { return &self; }
793 };
794 class ChannelDetails {
795 private:
796         LDKChannelDetails self;
797 public:
798         ChannelDetails(const ChannelDetails&) = delete;
799         ChannelDetails(ChannelDetails&& o) : self(o.self) { memset(&o, 0, sizeof(ChannelDetails)); }
800         ChannelDetails(LDKChannelDetails&& m_self) : self(m_self) { memset(&m_self, 0, sizeof(LDKChannelDetails)); }
801         operator LDKChannelDetails() && { LDKChannelDetails res = self; memset(&self, 0, sizeof(LDKChannelDetails)); return res; }
802         ~ChannelDetails() { ChannelDetails_free(self); }
803         ChannelDetails& operator=(ChannelDetails&& o) { ChannelDetails_free(self); self = o.self; memset(&o, 0, sizeof(ChannelDetails)); return *this; }
804         LDKChannelDetails* operator &() { return &self; }
805         LDKChannelDetails* operator ->() { return &self; }
806         const LDKChannelDetails* operator &() const { return &self; }
807         const LDKChannelDetails* operator ->() const { return &self; }
808 };
809 class PaymentSendFailure {
810 private:
811         LDKPaymentSendFailure self;
812 public:
813         PaymentSendFailure(const PaymentSendFailure&) = delete;
814         PaymentSendFailure(PaymentSendFailure&& o) : self(o.self) { memset(&o, 0, sizeof(PaymentSendFailure)); }
815         PaymentSendFailure(LDKPaymentSendFailure&& m_self) : self(m_self) { memset(&m_self, 0, sizeof(LDKPaymentSendFailure)); }
816         operator LDKPaymentSendFailure() && { LDKPaymentSendFailure res = self; memset(&self, 0, sizeof(LDKPaymentSendFailure)); return res; }
817         ~PaymentSendFailure() { PaymentSendFailure_free(self); }
818         PaymentSendFailure& operator=(PaymentSendFailure&& o) { PaymentSendFailure_free(self); self = o.self; memset(&o, 0, sizeof(PaymentSendFailure)); return *this; }
819         LDKPaymentSendFailure* operator &() { return &self; }
820         LDKPaymentSendFailure* operator ->() { return &self; }
821         const LDKPaymentSendFailure* operator &() const { return &self; }
822         const LDKPaymentSendFailure* operator ->() const { return &self; }
823 };
824 class ChannelManagerReadArgs {
825 private:
826         LDKChannelManagerReadArgs self;
827 public:
828         ChannelManagerReadArgs(const ChannelManagerReadArgs&) = delete;
829         ChannelManagerReadArgs(ChannelManagerReadArgs&& o) : self(o.self) { memset(&o, 0, sizeof(ChannelManagerReadArgs)); }
830         ChannelManagerReadArgs(LDKChannelManagerReadArgs&& m_self) : self(m_self) { memset(&m_self, 0, sizeof(LDKChannelManagerReadArgs)); }
831         operator LDKChannelManagerReadArgs() && { LDKChannelManagerReadArgs res = self; memset(&self, 0, sizeof(LDKChannelManagerReadArgs)); return res; }
832         ~ChannelManagerReadArgs() { ChannelManagerReadArgs_free(self); }
833         ChannelManagerReadArgs& operator=(ChannelManagerReadArgs&& o) { ChannelManagerReadArgs_free(self); self = o.self; memset(&o, 0, sizeof(ChannelManagerReadArgs)); return *this; }
834         LDKChannelManagerReadArgs* operator &() { return &self; }
835         LDKChannelManagerReadArgs* operator ->() { return &self; }
836         const LDKChannelManagerReadArgs* operator &() const { return &self; }
837         const LDKChannelManagerReadArgs* operator ->() const { return &self; }
838 };
839 class DelayedPaymentOutputDescriptor {
840 private:
841         LDKDelayedPaymentOutputDescriptor self;
842 public:
843         DelayedPaymentOutputDescriptor(const DelayedPaymentOutputDescriptor&) = delete;
844         DelayedPaymentOutputDescriptor(DelayedPaymentOutputDescriptor&& o) : self(o.self) { memset(&o, 0, sizeof(DelayedPaymentOutputDescriptor)); }
845         DelayedPaymentOutputDescriptor(LDKDelayedPaymentOutputDescriptor&& m_self) : self(m_self) { memset(&m_self, 0, sizeof(LDKDelayedPaymentOutputDescriptor)); }
846         operator LDKDelayedPaymentOutputDescriptor() && { LDKDelayedPaymentOutputDescriptor res = self; memset(&self, 0, sizeof(LDKDelayedPaymentOutputDescriptor)); return res; }
847         ~DelayedPaymentOutputDescriptor() { DelayedPaymentOutputDescriptor_free(self); }
848         DelayedPaymentOutputDescriptor& operator=(DelayedPaymentOutputDescriptor&& o) { DelayedPaymentOutputDescriptor_free(self); self = o.self; memset(&o, 0, sizeof(DelayedPaymentOutputDescriptor)); return *this; }
849         LDKDelayedPaymentOutputDescriptor* operator &() { return &self; }
850         LDKDelayedPaymentOutputDescriptor* operator ->() { return &self; }
851         const LDKDelayedPaymentOutputDescriptor* operator &() const { return &self; }
852         const LDKDelayedPaymentOutputDescriptor* operator ->() const { return &self; }
853 };
854 class StaticPaymentOutputDescriptor {
855 private:
856         LDKStaticPaymentOutputDescriptor self;
857 public:
858         StaticPaymentOutputDescriptor(const StaticPaymentOutputDescriptor&) = delete;
859         StaticPaymentOutputDescriptor(StaticPaymentOutputDescriptor&& o) : self(o.self) { memset(&o, 0, sizeof(StaticPaymentOutputDescriptor)); }
860         StaticPaymentOutputDescriptor(LDKStaticPaymentOutputDescriptor&& m_self) : self(m_self) { memset(&m_self, 0, sizeof(LDKStaticPaymentOutputDescriptor)); }
861         operator LDKStaticPaymentOutputDescriptor() && { LDKStaticPaymentOutputDescriptor res = self; memset(&self, 0, sizeof(LDKStaticPaymentOutputDescriptor)); return res; }
862         ~StaticPaymentOutputDescriptor() { StaticPaymentOutputDescriptor_free(self); }
863         StaticPaymentOutputDescriptor& operator=(StaticPaymentOutputDescriptor&& o) { StaticPaymentOutputDescriptor_free(self); self = o.self; memset(&o, 0, sizeof(StaticPaymentOutputDescriptor)); return *this; }
864         LDKStaticPaymentOutputDescriptor* operator &() { return &self; }
865         LDKStaticPaymentOutputDescriptor* operator ->() { return &self; }
866         const LDKStaticPaymentOutputDescriptor* operator &() const { return &self; }
867         const LDKStaticPaymentOutputDescriptor* operator ->() const { return &self; }
868 };
869 class SpendableOutputDescriptor {
870 private:
871         LDKSpendableOutputDescriptor self;
872 public:
873         SpendableOutputDescriptor(const SpendableOutputDescriptor&) = delete;
874         SpendableOutputDescriptor(SpendableOutputDescriptor&& o) : self(o.self) { memset(&o, 0, sizeof(SpendableOutputDescriptor)); }
875         SpendableOutputDescriptor(LDKSpendableOutputDescriptor&& m_self) : self(m_self) { memset(&m_self, 0, sizeof(LDKSpendableOutputDescriptor)); }
876         operator LDKSpendableOutputDescriptor() && { LDKSpendableOutputDescriptor res = self; memset(&self, 0, sizeof(LDKSpendableOutputDescriptor)); return res; }
877         ~SpendableOutputDescriptor() { SpendableOutputDescriptor_free(self); }
878         SpendableOutputDescriptor& operator=(SpendableOutputDescriptor&& o) { SpendableOutputDescriptor_free(self); self = o.self; memset(&o, 0, sizeof(SpendableOutputDescriptor)); return *this; }
879         LDKSpendableOutputDescriptor* operator &() { return &self; }
880         LDKSpendableOutputDescriptor* operator ->() { return &self; }
881         const LDKSpendableOutputDescriptor* operator &() const { return &self; }
882         const LDKSpendableOutputDescriptor* operator ->() const { return &self; }
883 };
884 class Sign {
885 private:
886         LDKSign self;
887 public:
888         Sign(const Sign&) = delete;
889         Sign(Sign&& o) : self(o.self) { memset(&o, 0, sizeof(Sign)); }
890         Sign(LDKSign&& m_self) : self(m_self) { memset(&m_self, 0, sizeof(LDKSign)); }
891         operator LDKSign() && { LDKSign res = self; memset(&self, 0, sizeof(LDKSign)); return res; }
892         ~Sign() { Sign_free(self); }
893         Sign& operator=(Sign&& o) { Sign_free(self); self = o.self; memset(&o, 0, sizeof(Sign)); return *this; }
894         LDKSign* operator &() { return &self; }
895         LDKSign* operator ->() { return &self; }
896         const LDKSign* operator &() const { return &self; }
897         const LDKSign* operator ->() const { return &self; }
898 };
899 class KeysInterface {
900 private:
901         LDKKeysInterface self;
902 public:
903         KeysInterface(const KeysInterface&) = delete;
904         KeysInterface(KeysInterface&& o) : self(o.self) { memset(&o, 0, sizeof(KeysInterface)); }
905         KeysInterface(LDKKeysInterface&& m_self) : self(m_self) { memset(&m_self, 0, sizeof(LDKKeysInterface)); }
906         operator LDKKeysInterface() && { LDKKeysInterface res = self; memset(&self, 0, sizeof(LDKKeysInterface)); return res; }
907         ~KeysInterface() { KeysInterface_free(self); }
908         KeysInterface& operator=(KeysInterface&& o) { KeysInterface_free(self); self = o.self; memset(&o, 0, sizeof(KeysInterface)); return *this; }
909         LDKKeysInterface* operator &() { return &self; }
910         LDKKeysInterface* operator ->() { return &self; }
911         const LDKKeysInterface* operator &() const { return &self; }
912         const LDKKeysInterface* operator ->() const { return &self; }
913 };
914 class InMemorySigner {
915 private:
916         LDKInMemorySigner self;
917 public:
918         InMemorySigner(const InMemorySigner&) = delete;
919         InMemorySigner(InMemorySigner&& o) : self(o.self) { memset(&o, 0, sizeof(InMemorySigner)); }
920         InMemorySigner(LDKInMemorySigner&& m_self) : self(m_self) { memset(&m_self, 0, sizeof(LDKInMemorySigner)); }
921         operator LDKInMemorySigner() && { LDKInMemorySigner res = self; memset(&self, 0, sizeof(LDKInMemorySigner)); return res; }
922         ~InMemorySigner() { InMemorySigner_free(self); }
923         InMemorySigner& operator=(InMemorySigner&& o) { InMemorySigner_free(self); self = o.self; memset(&o, 0, sizeof(InMemorySigner)); return *this; }
924         LDKInMemorySigner* operator &() { return &self; }
925         LDKInMemorySigner* operator ->() { return &self; }
926         const LDKInMemorySigner* operator &() const { return &self; }
927         const LDKInMemorySigner* operator ->() const { return &self; }
928 };
929 class KeysManager {
930 private:
931         LDKKeysManager self;
932 public:
933         KeysManager(const KeysManager&) = delete;
934         KeysManager(KeysManager&& o) : self(o.self) { memset(&o, 0, sizeof(KeysManager)); }
935         KeysManager(LDKKeysManager&& m_self) : self(m_self) { memset(&m_self, 0, sizeof(LDKKeysManager)); }
936         operator LDKKeysManager() && { LDKKeysManager res = self; memset(&self, 0, sizeof(LDKKeysManager)); return res; }
937         ~KeysManager() { KeysManager_free(self); }
938         KeysManager& operator=(KeysManager&& o) { KeysManager_free(self); self = o.self; memset(&o, 0, sizeof(KeysManager)); return *this; }
939         LDKKeysManager* operator &() { return &self; }
940         LDKKeysManager* operator ->() { return &self; }
941         const LDKKeysManager* operator &() const { return &self; }
942         const LDKKeysManager* operator ->() const { return &self; }
943 };
944 class RouteHop {
945 private:
946         LDKRouteHop self;
947 public:
948         RouteHop(const RouteHop&) = delete;
949         RouteHop(RouteHop&& o) : self(o.self) { memset(&o, 0, sizeof(RouteHop)); }
950         RouteHop(LDKRouteHop&& m_self) : self(m_self) { memset(&m_self, 0, sizeof(LDKRouteHop)); }
951         operator LDKRouteHop() && { LDKRouteHop res = self; memset(&self, 0, sizeof(LDKRouteHop)); return res; }
952         ~RouteHop() { RouteHop_free(self); }
953         RouteHop& operator=(RouteHop&& o) { RouteHop_free(self); self = o.self; memset(&o, 0, sizeof(RouteHop)); return *this; }
954         LDKRouteHop* operator &() { return &self; }
955         LDKRouteHop* operator ->() { return &self; }
956         const LDKRouteHop* operator &() const { return &self; }
957         const LDKRouteHop* operator ->() const { return &self; }
958 };
959 class Route {
960 private:
961         LDKRoute self;
962 public:
963         Route(const Route&) = delete;
964         Route(Route&& o) : self(o.self) { memset(&o, 0, sizeof(Route)); }
965         Route(LDKRoute&& m_self) : self(m_self) { memset(&m_self, 0, sizeof(LDKRoute)); }
966         operator LDKRoute() && { LDKRoute res = self; memset(&self, 0, sizeof(LDKRoute)); return res; }
967         ~Route() { Route_free(self); }
968         Route& operator=(Route&& o) { Route_free(self); self = o.self; memset(&o, 0, sizeof(Route)); return *this; }
969         LDKRoute* operator &() { return &self; }
970         LDKRoute* operator ->() { return &self; }
971         const LDKRoute* operator &() const { return &self; }
972         const LDKRoute* operator ->() const { return &self; }
973 };
974 class RouteHint {
975 private:
976         LDKRouteHint self;
977 public:
978         RouteHint(const RouteHint&) = delete;
979         RouteHint(RouteHint&& o) : self(o.self) { memset(&o, 0, sizeof(RouteHint)); }
980         RouteHint(LDKRouteHint&& m_self) : self(m_self) { memset(&m_self, 0, sizeof(LDKRouteHint)); }
981         operator LDKRouteHint() && { LDKRouteHint res = self; memset(&self, 0, sizeof(LDKRouteHint)); return res; }
982         ~RouteHint() { RouteHint_free(self); }
983         RouteHint& operator=(RouteHint&& o) { RouteHint_free(self); self = o.self; memset(&o, 0, sizeof(RouteHint)); return *this; }
984         LDKRouteHint* operator &() { return &self; }
985         LDKRouteHint* operator ->() { return &self; }
986         const LDKRouteHint* operator &() const { return &self; }
987         const LDKRouteHint* operator ->() const { return &self; }
988 };
989 class DecodeError {
990 private:
991         LDKDecodeError self;
992 public:
993         DecodeError(const DecodeError&) = delete;
994         DecodeError(DecodeError&& o) : self(o.self) { memset(&o, 0, sizeof(DecodeError)); }
995         DecodeError(LDKDecodeError&& m_self) : self(m_self) { memset(&m_self, 0, sizeof(LDKDecodeError)); }
996         operator LDKDecodeError() && { LDKDecodeError res = self; memset(&self, 0, sizeof(LDKDecodeError)); return res; }
997         ~DecodeError() { DecodeError_free(self); }
998         DecodeError& operator=(DecodeError&& o) { DecodeError_free(self); self = o.self; memset(&o, 0, sizeof(DecodeError)); return *this; }
999         LDKDecodeError* operator &() { return &self; }
1000         LDKDecodeError* operator ->() { return &self; }
1001         const LDKDecodeError* operator &() const { return &self; }
1002         const LDKDecodeError* operator ->() const { return &self; }
1003 };
1004 class Init {
1005 private:
1006         LDKInit self;
1007 public:
1008         Init(const Init&) = delete;
1009         Init(Init&& o) : self(o.self) { memset(&o, 0, sizeof(Init)); }
1010         Init(LDKInit&& m_self) : self(m_self) { memset(&m_self, 0, sizeof(LDKInit)); }
1011         operator LDKInit() && { LDKInit res = self; memset(&self, 0, sizeof(LDKInit)); return res; }
1012         ~Init() { Init_free(self); }
1013         Init& operator=(Init&& o) { Init_free(self); self = o.self; memset(&o, 0, sizeof(Init)); return *this; }
1014         LDKInit* operator &() { return &self; }
1015         LDKInit* operator ->() { return &self; }
1016         const LDKInit* operator &() const { return &self; }
1017         const LDKInit* operator ->() const { return &self; }
1018 };
1019 class ErrorMessage {
1020 private:
1021         LDKErrorMessage self;
1022 public:
1023         ErrorMessage(const ErrorMessage&) = delete;
1024         ErrorMessage(ErrorMessage&& o) : self(o.self) { memset(&o, 0, sizeof(ErrorMessage)); }
1025         ErrorMessage(LDKErrorMessage&& m_self) : self(m_self) { memset(&m_self, 0, sizeof(LDKErrorMessage)); }
1026         operator LDKErrorMessage() && { LDKErrorMessage res = self; memset(&self, 0, sizeof(LDKErrorMessage)); return res; }
1027         ~ErrorMessage() { ErrorMessage_free(self); }
1028         ErrorMessage& operator=(ErrorMessage&& o) { ErrorMessage_free(self); self = o.self; memset(&o, 0, sizeof(ErrorMessage)); return *this; }
1029         LDKErrorMessage* operator &() { return &self; }
1030         LDKErrorMessage* operator ->() { return &self; }
1031         const LDKErrorMessage* operator &() const { return &self; }
1032         const LDKErrorMessage* operator ->() const { return &self; }
1033 };
1034 class Ping {
1035 private:
1036         LDKPing self;
1037 public:
1038         Ping(const Ping&) = delete;
1039         Ping(Ping&& o) : self(o.self) { memset(&o, 0, sizeof(Ping)); }
1040         Ping(LDKPing&& m_self) : self(m_self) { memset(&m_self, 0, sizeof(LDKPing)); }
1041         operator LDKPing() && { LDKPing res = self; memset(&self, 0, sizeof(LDKPing)); return res; }
1042         ~Ping() { Ping_free(self); }
1043         Ping& operator=(Ping&& o) { Ping_free(self); self = o.self; memset(&o, 0, sizeof(Ping)); return *this; }
1044         LDKPing* operator &() { return &self; }
1045         LDKPing* operator ->() { return &self; }
1046         const LDKPing* operator &() const { return &self; }
1047         const LDKPing* operator ->() const { return &self; }
1048 };
1049 class Pong {
1050 private:
1051         LDKPong self;
1052 public:
1053         Pong(const Pong&) = delete;
1054         Pong(Pong&& o) : self(o.self) { memset(&o, 0, sizeof(Pong)); }
1055         Pong(LDKPong&& m_self) : self(m_self) { memset(&m_self, 0, sizeof(LDKPong)); }
1056         operator LDKPong() && { LDKPong res = self; memset(&self, 0, sizeof(LDKPong)); return res; }
1057         ~Pong() { Pong_free(self); }
1058         Pong& operator=(Pong&& o) { Pong_free(self); self = o.self; memset(&o, 0, sizeof(Pong)); return *this; }
1059         LDKPong* operator &() { return &self; }
1060         LDKPong* operator ->() { return &self; }
1061         const LDKPong* operator &() const { return &self; }
1062         const LDKPong* operator ->() const { return &self; }
1063 };
1064 class OpenChannel {
1065 private:
1066         LDKOpenChannel self;
1067 public:
1068         OpenChannel(const OpenChannel&) = delete;
1069         OpenChannel(OpenChannel&& o) : self(o.self) { memset(&o, 0, sizeof(OpenChannel)); }
1070         OpenChannel(LDKOpenChannel&& m_self) : self(m_self) { memset(&m_self, 0, sizeof(LDKOpenChannel)); }
1071         operator LDKOpenChannel() && { LDKOpenChannel res = self; memset(&self, 0, sizeof(LDKOpenChannel)); return res; }
1072         ~OpenChannel() { OpenChannel_free(self); }
1073         OpenChannel& operator=(OpenChannel&& o) { OpenChannel_free(self); self = o.self; memset(&o, 0, sizeof(OpenChannel)); return *this; }
1074         LDKOpenChannel* operator &() { return &self; }
1075         LDKOpenChannel* operator ->() { return &self; }
1076         const LDKOpenChannel* operator &() const { return &self; }
1077         const LDKOpenChannel* operator ->() const { return &self; }
1078 };
1079 class AcceptChannel {
1080 private:
1081         LDKAcceptChannel self;
1082 public:
1083         AcceptChannel(const AcceptChannel&) = delete;
1084         AcceptChannel(AcceptChannel&& o) : self(o.self) { memset(&o, 0, sizeof(AcceptChannel)); }
1085         AcceptChannel(LDKAcceptChannel&& m_self) : self(m_self) { memset(&m_self, 0, sizeof(LDKAcceptChannel)); }
1086         operator LDKAcceptChannel() && { LDKAcceptChannel res = self; memset(&self, 0, sizeof(LDKAcceptChannel)); return res; }
1087         ~AcceptChannel() { AcceptChannel_free(self); }
1088         AcceptChannel& operator=(AcceptChannel&& o) { AcceptChannel_free(self); self = o.self; memset(&o, 0, sizeof(AcceptChannel)); return *this; }
1089         LDKAcceptChannel* operator &() { return &self; }
1090         LDKAcceptChannel* operator ->() { return &self; }
1091         const LDKAcceptChannel* operator &() const { return &self; }
1092         const LDKAcceptChannel* operator ->() const { return &self; }
1093 };
1094 class FundingCreated {
1095 private:
1096         LDKFundingCreated self;
1097 public:
1098         FundingCreated(const FundingCreated&) = delete;
1099         FundingCreated(FundingCreated&& o) : self(o.self) { memset(&o, 0, sizeof(FundingCreated)); }
1100         FundingCreated(LDKFundingCreated&& m_self) : self(m_self) { memset(&m_self, 0, sizeof(LDKFundingCreated)); }
1101         operator LDKFundingCreated() && { LDKFundingCreated res = self; memset(&self, 0, sizeof(LDKFundingCreated)); return res; }
1102         ~FundingCreated() { FundingCreated_free(self); }
1103         FundingCreated& operator=(FundingCreated&& o) { FundingCreated_free(self); self = o.self; memset(&o, 0, sizeof(FundingCreated)); return *this; }
1104         LDKFundingCreated* operator &() { return &self; }
1105         LDKFundingCreated* operator ->() { return &self; }
1106         const LDKFundingCreated* operator &() const { return &self; }
1107         const LDKFundingCreated* operator ->() const { return &self; }
1108 };
1109 class FundingSigned {
1110 private:
1111         LDKFundingSigned self;
1112 public:
1113         FundingSigned(const FundingSigned&) = delete;
1114         FundingSigned(FundingSigned&& o) : self(o.self) { memset(&o, 0, sizeof(FundingSigned)); }
1115         FundingSigned(LDKFundingSigned&& m_self) : self(m_self) { memset(&m_self, 0, sizeof(LDKFundingSigned)); }
1116         operator LDKFundingSigned() && { LDKFundingSigned res = self; memset(&self, 0, sizeof(LDKFundingSigned)); return res; }
1117         ~FundingSigned() { FundingSigned_free(self); }
1118         FundingSigned& operator=(FundingSigned&& o) { FundingSigned_free(self); self = o.self; memset(&o, 0, sizeof(FundingSigned)); return *this; }
1119         LDKFundingSigned* operator &() { return &self; }
1120         LDKFundingSigned* operator ->() { return &self; }
1121         const LDKFundingSigned* operator &() const { return &self; }
1122         const LDKFundingSigned* operator ->() const { return &self; }
1123 };
1124 class FundingLocked {
1125 private:
1126         LDKFundingLocked self;
1127 public:
1128         FundingLocked(const FundingLocked&) = delete;
1129         FundingLocked(FundingLocked&& o) : self(o.self) { memset(&o, 0, sizeof(FundingLocked)); }
1130         FundingLocked(LDKFundingLocked&& m_self) : self(m_self) { memset(&m_self, 0, sizeof(LDKFundingLocked)); }
1131         operator LDKFundingLocked() && { LDKFundingLocked res = self; memset(&self, 0, sizeof(LDKFundingLocked)); return res; }
1132         ~FundingLocked() { FundingLocked_free(self); }
1133         FundingLocked& operator=(FundingLocked&& o) { FundingLocked_free(self); self = o.self; memset(&o, 0, sizeof(FundingLocked)); return *this; }
1134         LDKFundingLocked* operator &() { return &self; }
1135         LDKFundingLocked* operator ->() { return &self; }
1136         const LDKFundingLocked* operator &() const { return &self; }
1137         const LDKFundingLocked* operator ->() const { return &self; }
1138 };
1139 class Shutdown {
1140 private:
1141         LDKShutdown self;
1142 public:
1143         Shutdown(const Shutdown&) = delete;
1144         Shutdown(Shutdown&& o) : self(o.self) { memset(&o, 0, sizeof(Shutdown)); }
1145         Shutdown(LDKShutdown&& m_self) : self(m_self) { memset(&m_self, 0, sizeof(LDKShutdown)); }
1146         operator LDKShutdown() && { LDKShutdown res = self; memset(&self, 0, sizeof(LDKShutdown)); return res; }
1147         ~Shutdown() { Shutdown_free(self); }
1148         Shutdown& operator=(Shutdown&& o) { Shutdown_free(self); self = o.self; memset(&o, 0, sizeof(Shutdown)); return *this; }
1149         LDKShutdown* operator &() { return &self; }
1150         LDKShutdown* operator ->() { return &self; }
1151         const LDKShutdown* operator &() const { return &self; }
1152         const LDKShutdown* operator ->() const { return &self; }
1153 };
1154 class ClosingSigned {
1155 private:
1156         LDKClosingSigned self;
1157 public:
1158         ClosingSigned(const ClosingSigned&) = delete;
1159         ClosingSigned(ClosingSigned&& o) : self(o.self) { memset(&o, 0, sizeof(ClosingSigned)); }
1160         ClosingSigned(LDKClosingSigned&& m_self) : self(m_self) { memset(&m_self, 0, sizeof(LDKClosingSigned)); }
1161         operator LDKClosingSigned() && { LDKClosingSigned res = self; memset(&self, 0, sizeof(LDKClosingSigned)); return res; }
1162         ~ClosingSigned() { ClosingSigned_free(self); }
1163         ClosingSigned& operator=(ClosingSigned&& o) { ClosingSigned_free(self); self = o.self; memset(&o, 0, sizeof(ClosingSigned)); return *this; }
1164         LDKClosingSigned* operator &() { return &self; }
1165         LDKClosingSigned* operator ->() { return &self; }
1166         const LDKClosingSigned* operator &() const { return &self; }
1167         const LDKClosingSigned* operator ->() const { return &self; }
1168 };
1169 class UpdateAddHTLC {
1170 private:
1171         LDKUpdateAddHTLC self;
1172 public:
1173         UpdateAddHTLC(const UpdateAddHTLC&) = delete;
1174         UpdateAddHTLC(UpdateAddHTLC&& o) : self(o.self) { memset(&o, 0, sizeof(UpdateAddHTLC)); }
1175         UpdateAddHTLC(LDKUpdateAddHTLC&& m_self) : self(m_self) { memset(&m_self, 0, sizeof(LDKUpdateAddHTLC)); }
1176         operator LDKUpdateAddHTLC() && { LDKUpdateAddHTLC res = self; memset(&self, 0, sizeof(LDKUpdateAddHTLC)); return res; }
1177         ~UpdateAddHTLC() { UpdateAddHTLC_free(self); }
1178         UpdateAddHTLC& operator=(UpdateAddHTLC&& o) { UpdateAddHTLC_free(self); self = o.self; memset(&o, 0, sizeof(UpdateAddHTLC)); return *this; }
1179         LDKUpdateAddHTLC* operator &() { return &self; }
1180         LDKUpdateAddHTLC* operator ->() { return &self; }
1181         const LDKUpdateAddHTLC* operator &() const { return &self; }
1182         const LDKUpdateAddHTLC* operator ->() const { return &self; }
1183 };
1184 class UpdateFulfillHTLC {
1185 private:
1186         LDKUpdateFulfillHTLC self;
1187 public:
1188         UpdateFulfillHTLC(const UpdateFulfillHTLC&) = delete;
1189         UpdateFulfillHTLC(UpdateFulfillHTLC&& o) : self(o.self) { memset(&o, 0, sizeof(UpdateFulfillHTLC)); }
1190         UpdateFulfillHTLC(LDKUpdateFulfillHTLC&& m_self) : self(m_self) { memset(&m_self, 0, sizeof(LDKUpdateFulfillHTLC)); }
1191         operator LDKUpdateFulfillHTLC() && { LDKUpdateFulfillHTLC res = self; memset(&self, 0, sizeof(LDKUpdateFulfillHTLC)); return res; }
1192         ~UpdateFulfillHTLC() { UpdateFulfillHTLC_free(self); }
1193         UpdateFulfillHTLC& operator=(UpdateFulfillHTLC&& o) { UpdateFulfillHTLC_free(self); self = o.self; memset(&o, 0, sizeof(UpdateFulfillHTLC)); return *this; }
1194         LDKUpdateFulfillHTLC* operator &() { return &self; }
1195         LDKUpdateFulfillHTLC* operator ->() { return &self; }
1196         const LDKUpdateFulfillHTLC* operator &() const { return &self; }
1197         const LDKUpdateFulfillHTLC* operator ->() const { return &self; }
1198 };
1199 class UpdateFailHTLC {
1200 private:
1201         LDKUpdateFailHTLC self;
1202 public:
1203         UpdateFailHTLC(const UpdateFailHTLC&) = delete;
1204         UpdateFailHTLC(UpdateFailHTLC&& o) : self(o.self) { memset(&o, 0, sizeof(UpdateFailHTLC)); }
1205         UpdateFailHTLC(LDKUpdateFailHTLC&& m_self) : self(m_self) { memset(&m_self, 0, sizeof(LDKUpdateFailHTLC)); }
1206         operator LDKUpdateFailHTLC() && { LDKUpdateFailHTLC res = self; memset(&self, 0, sizeof(LDKUpdateFailHTLC)); return res; }
1207         ~UpdateFailHTLC() { UpdateFailHTLC_free(self); }
1208         UpdateFailHTLC& operator=(UpdateFailHTLC&& o) { UpdateFailHTLC_free(self); self = o.self; memset(&o, 0, sizeof(UpdateFailHTLC)); return *this; }
1209         LDKUpdateFailHTLC* operator &() { return &self; }
1210         LDKUpdateFailHTLC* operator ->() { return &self; }
1211         const LDKUpdateFailHTLC* operator &() const { return &self; }
1212         const LDKUpdateFailHTLC* operator ->() const { return &self; }
1213 };
1214 class UpdateFailMalformedHTLC {
1215 private:
1216         LDKUpdateFailMalformedHTLC self;
1217 public:
1218         UpdateFailMalformedHTLC(const UpdateFailMalformedHTLC&) = delete;
1219         UpdateFailMalformedHTLC(UpdateFailMalformedHTLC&& o) : self(o.self) { memset(&o, 0, sizeof(UpdateFailMalformedHTLC)); }
1220         UpdateFailMalformedHTLC(LDKUpdateFailMalformedHTLC&& m_self) : self(m_self) { memset(&m_self, 0, sizeof(LDKUpdateFailMalformedHTLC)); }
1221         operator LDKUpdateFailMalformedHTLC() && { LDKUpdateFailMalformedHTLC res = self; memset(&self, 0, sizeof(LDKUpdateFailMalformedHTLC)); return res; }
1222         ~UpdateFailMalformedHTLC() { UpdateFailMalformedHTLC_free(self); }
1223         UpdateFailMalformedHTLC& operator=(UpdateFailMalformedHTLC&& o) { UpdateFailMalformedHTLC_free(self); self = o.self; memset(&o, 0, sizeof(UpdateFailMalformedHTLC)); return *this; }
1224         LDKUpdateFailMalformedHTLC* operator &() { return &self; }
1225         LDKUpdateFailMalformedHTLC* operator ->() { return &self; }
1226         const LDKUpdateFailMalformedHTLC* operator &() const { return &self; }
1227         const LDKUpdateFailMalformedHTLC* operator ->() const { return &self; }
1228 };
1229 class CommitmentSigned {
1230 private:
1231         LDKCommitmentSigned self;
1232 public:
1233         CommitmentSigned(const CommitmentSigned&) = delete;
1234         CommitmentSigned(CommitmentSigned&& o) : self(o.self) { memset(&o, 0, sizeof(CommitmentSigned)); }
1235         CommitmentSigned(LDKCommitmentSigned&& m_self) : self(m_self) { memset(&m_self, 0, sizeof(LDKCommitmentSigned)); }
1236         operator LDKCommitmentSigned() && { LDKCommitmentSigned res = self; memset(&self, 0, sizeof(LDKCommitmentSigned)); return res; }
1237         ~CommitmentSigned() { CommitmentSigned_free(self); }
1238         CommitmentSigned& operator=(CommitmentSigned&& o) { CommitmentSigned_free(self); self = o.self; memset(&o, 0, sizeof(CommitmentSigned)); return *this; }
1239         LDKCommitmentSigned* operator &() { return &self; }
1240         LDKCommitmentSigned* operator ->() { return &self; }
1241         const LDKCommitmentSigned* operator &() const { return &self; }
1242         const LDKCommitmentSigned* operator ->() const { return &self; }
1243 };
1244 class RevokeAndACK {
1245 private:
1246         LDKRevokeAndACK self;
1247 public:
1248         RevokeAndACK(const RevokeAndACK&) = delete;
1249         RevokeAndACK(RevokeAndACK&& o) : self(o.self) { memset(&o, 0, sizeof(RevokeAndACK)); }
1250         RevokeAndACK(LDKRevokeAndACK&& m_self) : self(m_self) { memset(&m_self, 0, sizeof(LDKRevokeAndACK)); }
1251         operator LDKRevokeAndACK() && { LDKRevokeAndACK res = self; memset(&self, 0, sizeof(LDKRevokeAndACK)); return res; }
1252         ~RevokeAndACK() { RevokeAndACK_free(self); }
1253         RevokeAndACK& operator=(RevokeAndACK&& o) { RevokeAndACK_free(self); self = o.self; memset(&o, 0, sizeof(RevokeAndACK)); return *this; }
1254         LDKRevokeAndACK* operator &() { return &self; }
1255         LDKRevokeAndACK* operator ->() { return &self; }
1256         const LDKRevokeAndACK* operator &() const { return &self; }
1257         const LDKRevokeAndACK* operator ->() const { return &self; }
1258 };
1259 class UpdateFee {
1260 private:
1261         LDKUpdateFee self;
1262 public:
1263         UpdateFee(const UpdateFee&) = delete;
1264         UpdateFee(UpdateFee&& o) : self(o.self) { memset(&o, 0, sizeof(UpdateFee)); }
1265         UpdateFee(LDKUpdateFee&& m_self) : self(m_self) { memset(&m_self, 0, sizeof(LDKUpdateFee)); }
1266         operator LDKUpdateFee() && { LDKUpdateFee res = self; memset(&self, 0, sizeof(LDKUpdateFee)); return res; }
1267         ~UpdateFee() { UpdateFee_free(self); }
1268         UpdateFee& operator=(UpdateFee&& o) { UpdateFee_free(self); self = o.self; memset(&o, 0, sizeof(UpdateFee)); return *this; }
1269         LDKUpdateFee* operator &() { return &self; }
1270         LDKUpdateFee* operator ->() { return &self; }
1271         const LDKUpdateFee* operator &() const { return &self; }
1272         const LDKUpdateFee* operator ->() const { return &self; }
1273 };
1274 class DataLossProtect {
1275 private:
1276         LDKDataLossProtect self;
1277 public:
1278         DataLossProtect(const DataLossProtect&) = delete;
1279         DataLossProtect(DataLossProtect&& o) : self(o.self) { memset(&o, 0, sizeof(DataLossProtect)); }
1280         DataLossProtect(LDKDataLossProtect&& m_self) : self(m_self) { memset(&m_self, 0, sizeof(LDKDataLossProtect)); }
1281         operator LDKDataLossProtect() && { LDKDataLossProtect res = self; memset(&self, 0, sizeof(LDKDataLossProtect)); return res; }
1282         ~DataLossProtect() { DataLossProtect_free(self); }
1283         DataLossProtect& operator=(DataLossProtect&& o) { DataLossProtect_free(self); self = o.self; memset(&o, 0, sizeof(DataLossProtect)); return *this; }
1284         LDKDataLossProtect* operator &() { return &self; }
1285         LDKDataLossProtect* operator ->() { return &self; }
1286         const LDKDataLossProtect* operator &() const { return &self; }
1287         const LDKDataLossProtect* operator ->() const { return &self; }
1288 };
1289 class ChannelReestablish {
1290 private:
1291         LDKChannelReestablish self;
1292 public:
1293         ChannelReestablish(const ChannelReestablish&) = delete;
1294         ChannelReestablish(ChannelReestablish&& o) : self(o.self) { memset(&o, 0, sizeof(ChannelReestablish)); }
1295         ChannelReestablish(LDKChannelReestablish&& m_self) : self(m_self) { memset(&m_self, 0, sizeof(LDKChannelReestablish)); }
1296         operator LDKChannelReestablish() && { LDKChannelReestablish res = self; memset(&self, 0, sizeof(LDKChannelReestablish)); return res; }
1297         ~ChannelReestablish() { ChannelReestablish_free(self); }
1298         ChannelReestablish& operator=(ChannelReestablish&& o) { ChannelReestablish_free(self); self = o.self; memset(&o, 0, sizeof(ChannelReestablish)); return *this; }
1299         LDKChannelReestablish* operator &() { return &self; }
1300         LDKChannelReestablish* operator ->() { return &self; }
1301         const LDKChannelReestablish* operator &() const { return &self; }
1302         const LDKChannelReestablish* operator ->() const { return &self; }
1303 };
1304 class AnnouncementSignatures {
1305 private:
1306         LDKAnnouncementSignatures self;
1307 public:
1308         AnnouncementSignatures(const AnnouncementSignatures&) = delete;
1309         AnnouncementSignatures(AnnouncementSignatures&& o) : self(o.self) { memset(&o, 0, sizeof(AnnouncementSignatures)); }
1310         AnnouncementSignatures(LDKAnnouncementSignatures&& m_self) : self(m_self) { memset(&m_self, 0, sizeof(LDKAnnouncementSignatures)); }
1311         operator LDKAnnouncementSignatures() && { LDKAnnouncementSignatures res = self; memset(&self, 0, sizeof(LDKAnnouncementSignatures)); return res; }
1312         ~AnnouncementSignatures() { AnnouncementSignatures_free(self); }
1313         AnnouncementSignatures& operator=(AnnouncementSignatures&& o) { AnnouncementSignatures_free(self); self = o.self; memset(&o, 0, sizeof(AnnouncementSignatures)); return *this; }
1314         LDKAnnouncementSignatures* operator &() { return &self; }
1315         LDKAnnouncementSignatures* operator ->() { return &self; }
1316         const LDKAnnouncementSignatures* operator &() const { return &self; }
1317         const LDKAnnouncementSignatures* operator ->() const { return &self; }
1318 };
1319 class NetAddress {
1320 private:
1321         LDKNetAddress self;
1322 public:
1323         NetAddress(const NetAddress&) = delete;
1324         NetAddress(NetAddress&& o) : self(o.self) { memset(&o, 0, sizeof(NetAddress)); }
1325         NetAddress(LDKNetAddress&& m_self) : self(m_self) { memset(&m_self, 0, sizeof(LDKNetAddress)); }
1326         operator LDKNetAddress() && { LDKNetAddress res = self; memset(&self, 0, sizeof(LDKNetAddress)); return res; }
1327         ~NetAddress() { NetAddress_free(self); }
1328         NetAddress& operator=(NetAddress&& o) { NetAddress_free(self); self = o.self; memset(&o, 0, sizeof(NetAddress)); return *this; }
1329         LDKNetAddress* operator &() { return &self; }
1330         LDKNetAddress* operator ->() { return &self; }
1331         const LDKNetAddress* operator &() const { return &self; }
1332         const LDKNetAddress* operator ->() const { return &self; }
1333 };
1334 class UnsignedNodeAnnouncement {
1335 private:
1336         LDKUnsignedNodeAnnouncement self;
1337 public:
1338         UnsignedNodeAnnouncement(const UnsignedNodeAnnouncement&) = delete;
1339         UnsignedNodeAnnouncement(UnsignedNodeAnnouncement&& o) : self(o.self) { memset(&o, 0, sizeof(UnsignedNodeAnnouncement)); }
1340         UnsignedNodeAnnouncement(LDKUnsignedNodeAnnouncement&& m_self) : self(m_self) { memset(&m_self, 0, sizeof(LDKUnsignedNodeAnnouncement)); }
1341         operator LDKUnsignedNodeAnnouncement() && { LDKUnsignedNodeAnnouncement res = self; memset(&self, 0, sizeof(LDKUnsignedNodeAnnouncement)); return res; }
1342         ~UnsignedNodeAnnouncement() { UnsignedNodeAnnouncement_free(self); }
1343         UnsignedNodeAnnouncement& operator=(UnsignedNodeAnnouncement&& o) { UnsignedNodeAnnouncement_free(self); self = o.self; memset(&o, 0, sizeof(UnsignedNodeAnnouncement)); return *this; }
1344         LDKUnsignedNodeAnnouncement* operator &() { return &self; }
1345         LDKUnsignedNodeAnnouncement* operator ->() { return &self; }
1346         const LDKUnsignedNodeAnnouncement* operator &() const { return &self; }
1347         const LDKUnsignedNodeAnnouncement* operator ->() const { return &self; }
1348 };
1349 class NodeAnnouncement {
1350 private:
1351         LDKNodeAnnouncement self;
1352 public:
1353         NodeAnnouncement(const NodeAnnouncement&) = delete;
1354         NodeAnnouncement(NodeAnnouncement&& o) : self(o.self) { memset(&o, 0, sizeof(NodeAnnouncement)); }
1355         NodeAnnouncement(LDKNodeAnnouncement&& m_self) : self(m_self) { memset(&m_self, 0, sizeof(LDKNodeAnnouncement)); }
1356         operator LDKNodeAnnouncement() && { LDKNodeAnnouncement res = self; memset(&self, 0, sizeof(LDKNodeAnnouncement)); return res; }
1357         ~NodeAnnouncement() { NodeAnnouncement_free(self); }
1358         NodeAnnouncement& operator=(NodeAnnouncement&& o) { NodeAnnouncement_free(self); self = o.self; memset(&o, 0, sizeof(NodeAnnouncement)); return *this; }
1359         LDKNodeAnnouncement* operator &() { return &self; }
1360         LDKNodeAnnouncement* operator ->() { return &self; }
1361         const LDKNodeAnnouncement* operator &() const { return &self; }
1362         const LDKNodeAnnouncement* operator ->() const { return &self; }
1363 };
1364 class UnsignedChannelAnnouncement {
1365 private:
1366         LDKUnsignedChannelAnnouncement self;
1367 public:
1368         UnsignedChannelAnnouncement(const UnsignedChannelAnnouncement&) = delete;
1369         UnsignedChannelAnnouncement(UnsignedChannelAnnouncement&& o) : self(o.self) { memset(&o, 0, sizeof(UnsignedChannelAnnouncement)); }
1370         UnsignedChannelAnnouncement(LDKUnsignedChannelAnnouncement&& m_self) : self(m_self) { memset(&m_self, 0, sizeof(LDKUnsignedChannelAnnouncement)); }
1371         operator LDKUnsignedChannelAnnouncement() && { LDKUnsignedChannelAnnouncement res = self; memset(&self, 0, sizeof(LDKUnsignedChannelAnnouncement)); return res; }
1372         ~UnsignedChannelAnnouncement() { UnsignedChannelAnnouncement_free(self); }
1373         UnsignedChannelAnnouncement& operator=(UnsignedChannelAnnouncement&& o) { UnsignedChannelAnnouncement_free(self); self = o.self; memset(&o, 0, sizeof(UnsignedChannelAnnouncement)); return *this; }
1374         LDKUnsignedChannelAnnouncement* operator &() { return &self; }
1375         LDKUnsignedChannelAnnouncement* operator ->() { return &self; }
1376         const LDKUnsignedChannelAnnouncement* operator &() const { return &self; }
1377         const LDKUnsignedChannelAnnouncement* operator ->() const { return &self; }
1378 };
1379 class ChannelAnnouncement {
1380 private:
1381         LDKChannelAnnouncement self;
1382 public:
1383         ChannelAnnouncement(const ChannelAnnouncement&) = delete;
1384         ChannelAnnouncement(ChannelAnnouncement&& o) : self(o.self) { memset(&o, 0, sizeof(ChannelAnnouncement)); }
1385         ChannelAnnouncement(LDKChannelAnnouncement&& m_self) : self(m_self) { memset(&m_self, 0, sizeof(LDKChannelAnnouncement)); }
1386         operator LDKChannelAnnouncement() && { LDKChannelAnnouncement res = self; memset(&self, 0, sizeof(LDKChannelAnnouncement)); return res; }
1387         ~ChannelAnnouncement() { ChannelAnnouncement_free(self); }
1388         ChannelAnnouncement& operator=(ChannelAnnouncement&& o) { ChannelAnnouncement_free(self); self = o.self; memset(&o, 0, sizeof(ChannelAnnouncement)); return *this; }
1389         LDKChannelAnnouncement* operator &() { return &self; }
1390         LDKChannelAnnouncement* operator ->() { return &self; }
1391         const LDKChannelAnnouncement* operator &() const { return &self; }
1392         const LDKChannelAnnouncement* operator ->() const { return &self; }
1393 };
1394 class UnsignedChannelUpdate {
1395 private:
1396         LDKUnsignedChannelUpdate self;
1397 public:
1398         UnsignedChannelUpdate(const UnsignedChannelUpdate&) = delete;
1399         UnsignedChannelUpdate(UnsignedChannelUpdate&& o) : self(o.self) { memset(&o, 0, sizeof(UnsignedChannelUpdate)); }
1400         UnsignedChannelUpdate(LDKUnsignedChannelUpdate&& m_self) : self(m_self) { memset(&m_self, 0, sizeof(LDKUnsignedChannelUpdate)); }
1401         operator LDKUnsignedChannelUpdate() && { LDKUnsignedChannelUpdate res = self; memset(&self, 0, sizeof(LDKUnsignedChannelUpdate)); return res; }
1402         ~UnsignedChannelUpdate() { UnsignedChannelUpdate_free(self); }
1403         UnsignedChannelUpdate& operator=(UnsignedChannelUpdate&& o) { UnsignedChannelUpdate_free(self); self = o.self; memset(&o, 0, sizeof(UnsignedChannelUpdate)); return *this; }
1404         LDKUnsignedChannelUpdate* operator &() { return &self; }
1405         LDKUnsignedChannelUpdate* operator ->() { return &self; }
1406         const LDKUnsignedChannelUpdate* operator &() const { return &self; }
1407         const LDKUnsignedChannelUpdate* operator ->() const { return &self; }
1408 };
1409 class ChannelUpdate {
1410 private:
1411         LDKChannelUpdate self;
1412 public:
1413         ChannelUpdate(const ChannelUpdate&) = delete;
1414         ChannelUpdate(ChannelUpdate&& o) : self(o.self) { memset(&o, 0, sizeof(ChannelUpdate)); }
1415         ChannelUpdate(LDKChannelUpdate&& m_self) : self(m_self) { memset(&m_self, 0, sizeof(LDKChannelUpdate)); }
1416         operator LDKChannelUpdate() && { LDKChannelUpdate res = self; memset(&self, 0, sizeof(LDKChannelUpdate)); return res; }
1417         ~ChannelUpdate() { ChannelUpdate_free(self); }
1418         ChannelUpdate& operator=(ChannelUpdate&& o) { ChannelUpdate_free(self); self = o.self; memset(&o, 0, sizeof(ChannelUpdate)); return *this; }
1419         LDKChannelUpdate* operator &() { return &self; }
1420         LDKChannelUpdate* operator ->() { return &self; }
1421         const LDKChannelUpdate* operator &() const { return &self; }
1422         const LDKChannelUpdate* operator ->() const { return &self; }
1423 };
1424 class QueryChannelRange {
1425 private:
1426         LDKQueryChannelRange self;
1427 public:
1428         QueryChannelRange(const QueryChannelRange&) = delete;
1429         QueryChannelRange(QueryChannelRange&& o) : self(o.self) { memset(&o, 0, sizeof(QueryChannelRange)); }
1430         QueryChannelRange(LDKQueryChannelRange&& m_self) : self(m_self) { memset(&m_self, 0, sizeof(LDKQueryChannelRange)); }
1431         operator LDKQueryChannelRange() && { LDKQueryChannelRange res = self; memset(&self, 0, sizeof(LDKQueryChannelRange)); return res; }
1432         ~QueryChannelRange() { QueryChannelRange_free(self); }
1433         QueryChannelRange& operator=(QueryChannelRange&& o) { QueryChannelRange_free(self); self = o.self; memset(&o, 0, sizeof(QueryChannelRange)); return *this; }
1434         LDKQueryChannelRange* operator &() { return &self; }
1435         LDKQueryChannelRange* operator ->() { return &self; }
1436         const LDKQueryChannelRange* operator &() const { return &self; }
1437         const LDKQueryChannelRange* operator ->() const { return &self; }
1438 };
1439 class ReplyChannelRange {
1440 private:
1441         LDKReplyChannelRange self;
1442 public:
1443         ReplyChannelRange(const ReplyChannelRange&) = delete;
1444         ReplyChannelRange(ReplyChannelRange&& o) : self(o.self) { memset(&o, 0, sizeof(ReplyChannelRange)); }
1445         ReplyChannelRange(LDKReplyChannelRange&& m_self) : self(m_self) { memset(&m_self, 0, sizeof(LDKReplyChannelRange)); }
1446         operator LDKReplyChannelRange() && { LDKReplyChannelRange res = self; memset(&self, 0, sizeof(LDKReplyChannelRange)); return res; }
1447         ~ReplyChannelRange() { ReplyChannelRange_free(self); }
1448         ReplyChannelRange& operator=(ReplyChannelRange&& o) { ReplyChannelRange_free(self); self = o.self; memset(&o, 0, sizeof(ReplyChannelRange)); return *this; }
1449         LDKReplyChannelRange* operator &() { return &self; }
1450         LDKReplyChannelRange* operator ->() { return &self; }
1451         const LDKReplyChannelRange* operator &() const { return &self; }
1452         const LDKReplyChannelRange* operator ->() const { return &self; }
1453 };
1454 class QueryShortChannelIds {
1455 private:
1456         LDKQueryShortChannelIds self;
1457 public:
1458         QueryShortChannelIds(const QueryShortChannelIds&) = delete;
1459         QueryShortChannelIds(QueryShortChannelIds&& o) : self(o.self) { memset(&o, 0, sizeof(QueryShortChannelIds)); }
1460         QueryShortChannelIds(LDKQueryShortChannelIds&& m_self) : self(m_self) { memset(&m_self, 0, sizeof(LDKQueryShortChannelIds)); }
1461         operator LDKQueryShortChannelIds() && { LDKQueryShortChannelIds res = self; memset(&self, 0, sizeof(LDKQueryShortChannelIds)); return res; }
1462         ~QueryShortChannelIds() { QueryShortChannelIds_free(self); }
1463         QueryShortChannelIds& operator=(QueryShortChannelIds&& o) { QueryShortChannelIds_free(self); self = o.self; memset(&o, 0, sizeof(QueryShortChannelIds)); return *this; }
1464         LDKQueryShortChannelIds* operator &() { return &self; }
1465         LDKQueryShortChannelIds* operator ->() { return &self; }
1466         const LDKQueryShortChannelIds* operator &() const { return &self; }
1467         const LDKQueryShortChannelIds* operator ->() const { return &self; }
1468 };
1469 class ReplyShortChannelIdsEnd {
1470 private:
1471         LDKReplyShortChannelIdsEnd self;
1472 public:
1473         ReplyShortChannelIdsEnd(const ReplyShortChannelIdsEnd&) = delete;
1474         ReplyShortChannelIdsEnd(ReplyShortChannelIdsEnd&& o) : self(o.self) { memset(&o, 0, sizeof(ReplyShortChannelIdsEnd)); }
1475         ReplyShortChannelIdsEnd(LDKReplyShortChannelIdsEnd&& m_self) : self(m_self) { memset(&m_self, 0, sizeof(LDKReplyShortChannelIdsEnd)); }
1476         operator LDKReplyShortChannelIdsEnd() && { LDKReplyShortChannelIdsEnd res = self; memset(&self, 0, sizeof(LDKReplyShortChannelIdsEnd)); return res; }
1477         ~ReplyShortChannelIdsEnd() { ReplyShortChannelIdsEnd_free(self); }
1478         ReplyShortChannelIdsEnd& operator=(ReplyShortChannelIdsEnd&& o) { ReplyShortChannelIdsEnd_free(self); self = o.self; memset(&o, 0, sizeof(ReplyShortChannelIdsEnd)); return *this; }
1479         LDKReplyShortChannelIdsEnd* operator &() { return &self; }
1480         LDKReplyShortChannelIdsEnd* operator ->() { return &self; }
1481         const LDKReplyShortChannelIdsEnd* operator &() const { return &self; }
1482         const LDKReplyShortChannelIdsEnd* operator ->() const { return &self; }
1483 };
1484 class GossipTimestampFilter {
1485 private:
1486         LDKGossipTimestampFilter self;
1487 public:
1488         GossipTimestampFilter(const GossipTimestampFilter&) = delete;
1489         GossipTimestampFilter(GossipTimestampFilter&& o) : self(o.self) { memset(&o, 0, sizeof(GossipTimestampFilter)); }
1490         GossipTimestampFilter(LDKGossipTimestampFilter&& m_self) : self(m_self) { memset(&m_self, 0, sizeof(LDKGossipTimestampFilter)); }
1491         operator LDKGossipTimestampFilter() && { LDKGossipTimestampFilter res = self; memset(&self, 0, sizeof(LDKGossipTimestampFilter)); return res; }
1492         ~GossipTimestampFilter() { GossipTimestampFilter_free(self); }
1493         GossipTimestampFilter& operator=(GossipTimestampFilter&& o) { GossipTimestampFilter_free(self); self = o.self; memset(&o, 0, sizeof(GossipTimestampFilter)); return *this; }
1494         LDKGossipTimestampFilter* operator &() { return &self; }
1495         LDKGossipTimestampFilter* operator ->() { return &self; }
1496         const LDKGossipTimestampFilter* operator &() const { return &self; }
1497         const LDKGossipTimestampFilter* operator ->() const { return &self; }
1498 };
1499 class ErrorAction {
1500 private:
1501         LDKErrorAction self;
1502 public:
1503         ErrorAction(const ErrorAction&) = delete;
1504         ErrorAction(ErrorAction&& o) : self(o.self) { memset(&o, 0, sizeof(ErrorAction)); }
1505         ErrorAction(LDKErrorAction&& m_self) : self(m_self) { memset(&m_self, 0, sizeof(LDKErrorAction)); }
1506         operator LDKErrorAction() && { LDKErrorAction res = self; memset(&self, 0, sizeof(LDKErrorAction)); return res; }
1507         ~ErrorAction() { ErrorAction_free(self); }
1508         ErrorAction& operator=(ErrorAction&& o) { ErrorAction_free(self); self = o.self; memset(&o, 0, sizeof(ErrorAction)); return *this; }
1509         LDKErrorAction* operator &() { return &self; }
1510         LDKErrorAction* operator ->() { return &self; }
1511         const LDKErrorAction* operator &() const { return &self; }
1512         const LDKErrorAction* operator ->() const { return &self; }
1513 };
1514 class LightningError {
1515 private:
1516         LDKLightningError self;
1517 public:
1518         LightningError(const LightningError&) = delete;
1519         LightningError(LightningError&& o) : self(o.self) { memset(&o, 0, sizeof(LightningError)); }
1520         LightningError(LDKLightningError&& m_self) : self(m_self) { memset(&m_self, 0, sizeof(LDKLightningError)); }
1521         operator LDKLightningError() && { LDKLightningError res = self; memset(&self, 0, sizeof(LDKLightningError)); return res; }
1522         ~LightningError() { LightningError_free(self); }
1523         LightningError& operator=(LightningError&& o) { LightningError_free(self); self = o.self; memset(&o, 0, sizeof(LightningError)); return *this; }
1524         LDKLightningError* operator &() { return &self; }
1525         LDKLightningError* operator ->() { return &self; }
1526         const LDKLightningError* operator &() const { return &self; }
1527         const LDKLightningError* operator ->() const { return &self; }
1528 };
1529 class CommitmentUpdate {
1530 private:
1531         LDKCommitmentUpdate self;
1532 public:
1533         CommitmentUpdate(const CommitmentUpdate&) = delete;
1534         CommitmentUpdate(CommitmentUpdate&& o) : self(o.self) { memset(&o, 0, sizeof(CommitmentUpdate)); }
1535         CommitmentUpdate(LDKCommitmentUpdate&& m_self) : self(m_self) { memset(&m_self, 0, sizeof(LDKCommitmentUpdate)); }
1536         operator LDKCommitmentUpdate() && { LDKCommitmentUpdate res = self; memset(&self, 0, sizeof(LDKCommitmentUpdate)); return res; }
1537         ~CommitmentUpdate() { CommitmentUpdate_free(self); }
1538         CommitmentUpdate& operator=(CommitmentUpdate&& o) { CommitmentUpdate_free(self); self = o.self; memset(&o, 0, sizeof(CommitmentUpdate)); return *this; }
1539         LDKCommitmentUpdate* operator &() { return &self; }
1540         LDKCommitmentUpdate* operator ->() { return &self; }
1541         const LDKCommitmentUpdate* operator &() const { return &self; }
1542         const LDKCommitmentUpdate* operator ->() const { return &self; }
1543 };
1544 class HTLCFailChannelUpdate {
1545 private:
1546         LDKHTLCFailChannelUpdate self;
1547 public:
1548         HTLCFailChannelUpdate(const HTLCFailChannelUpdate&) = delete;
1549         HTLCFailChannelUpdate(HTLCFailChannelUpdate&& o) : self(o.self) { memset(&o, 0, sizeof(HTLCFailChannelUpdate)); }
1550         HTLCFailChannelUpdate(LDKHTLCFailChannelUpdate&& m_self) : self(m_self) { memset(&m_self, 0, sizeof(LDKHTLCFailChannelUpdate)); }
1551         operator LDKHTLCFailChannelUpdate() && { LDKHTLCFailChannelUpdate res = self; memset(&self, 0, sizeof(LDKHTLCFailChannelUpdate)); return res; }
1552         ~HTLCFailChannelUpdate() { HTLCFailChannelUpdate_free(self); }
1553         HTLCFailChannelUpdate& operator=(HTLCFailChannelUpdate&& o) { HTLCFailChannelUpdate_free(self); self = o.self; memset(&o, 0, sizeof(HTLCFailChannelUpdate)); return *this; }
1554         LDKHTLCFailChannelUpdate* operator &() { return &self; }
1555         LDKHTLCFailChannelUpdate* operator ->() { return &self; }
1556         const LDKHTLCFailChannelUpdate* operator &() const { return &self; }
1557         const LDKHTLCFailChannelUpdate* operator ->() const { return &self; }
1558 };
1559 class ChannelMessageHandler {
1560 private:
1561         LDKChannelMessageHandler self;
1562 public:
1563         ChannelMessageHandler(const ChannelMessageHandler&) = delete;
1564         ChannelMessageHandler(ChannelMessageHandler&& o) : self(o.self) { memset(&o, 0, sizeof(ChannelMessageHandler)); }
1565         ChannelMessageHandler(LDKChannelMessageHandler&& m_self) : self(m_self) { memset(&m_self, 0, sizeof(LDKChannelMessageHandler)); }
1566         operator LDKChannelMessageHandler() && { LDKChannelMessageHandler res = self; memset(&self, 0, sizeof(LDKChannelMessageHandler)); return res; }
1567         ~ChannelMessageHandler() { ChannelMessageHandler_free(self); }
1568         ChannelMessageHandler& operator=(ChannelMessageHandler&& o) { ChannelMessageHandler_free(self); self = o.self; memset(&o, 0, sizeof(ChannelMessageHandler)); return *this; }
1569         LDKChannelMessageHandler* operator &() { return &self; }
1570         LDKChannelMessageHandler* operator ->() { return &self; }
1571         const LDKChannelMessageHandler* operator &() const { return &self; }
1572         const LDKChannelMessageHandler* operator ->() const { return &self; }
1573 };
1574 class RoutingMessageHandler {
1575 private:
1576         LDKRoutingMessageHandler self;
1577 public:
1578         RoutingMessageHandler(const RoutingMessageHandler&) = delete;
1579         RoutingMessageHandler(RoutingMessageHandler&& o) : self(o.self) { memset(&o, 0, sizeof(RoutingMessageHandler)); }
1580         RoutingMessageHandler(LDKRoutingMessageHandler&& m_self) : self(m_self) { memset(&m_self, 0, sizeof(LDKRoutingMessageHandler)); }
1581         operator LDKRoutingMessageHandler() && { LDKRoutingMessageHandler res = self; memset(&self, 0, sizeof(LDKRoutingMessageHandler)); return res; }
1582         ~RoutingMessageHandler() { RoutingMessageHandler_free(self); }
1583         RoutingMessageHandler& operator=(RoutingMessageHandler&& o) { RoutingMessageHandler_free(self); self = o.self; memset(&o, 0, sizeof(RoutingMessageHandler)); return *this; }
1584         LDKRoutingMessageHandler* operator &() { return &self; }
1585         LDKRoutingMessageHandler* operator ->() { return &self; }
1586         const LDKRoutingMessageHandler* operator &() const { return &self; }
1587         const LDKRoutingMessageHandler* operator ->() const { return &self; }
1588 };
1589 class CVec_SpendableOutputDescriptorZ {
1590 private:
1591         LDKCVec_SpendableOutputDescriptorZ self;
1592 public:
1593         CVec_SpendableOutputDescriptorZ(const CVec_SpendableOutputDescriptorZ&) = delete;
1594         CVec_SpendableOutputDescriptorZ(CVec_SpendableOutputDescriptorZ&& o) : self(o.self) { memset(&o, 0, sizeof(CVec_SpendableOutputDescriptorZ)); }
1595         CVec_SpendableOutputDescriptorZ(LDKCVec_SpendableOutputDescriptorZ&& m_self) : self(m_self) { memset(&m_self, 0, sizeof(LDKCVec_SpendableOutputDescriptorZ)); }
1596         operator LDKCVec_SpendableOutputDescriptorZ() && { LDKCVec_SpendableOutputDescriptorZ res = self; memset(&self, 0, sizeof(LDKCVec_SpendableOutputDescriptorZ)); return res; }
1597         ~CVec_SpendableOutputDescriptorZ() { CVec_SpendableOutputDescriptorZ_free(self); }
1598         CVec_SpendableOutputDescriptorZ& operator=(CVec_SpendableOutputDescriptorZ&& o) { CVec_SpendableOutputDescriptorZ_free(self); self = o.self; memset(&o, 0, sizeof(CVec_SpendableOutputDescriptorZ)); return *this; }
1599         LDKCVec_SpendableOutputDescriptorZ* operator &() { return &self; }
1600         LDKCVec_SpendableOutputDescriptorZ* operator ->() { return &self; }
1601         const LDKCVec_SpendableOutputDescriptorZ* operator &() const { return &self; }
1602         const LDKCVec_SpendableOutputDescriptorZ* operator ->() const { return &self; }
1603 };
1604 class CResult_FundingCreatedDecodeErrorZ {
1605 private:
1606         LDKCResult_FundingCreatedDecodeErrorZ self;
1607 public:
1608         CResult_FundingCreatedDecodeErrorZ(const CResult_FundingCreatedDecodeErrorZ&) = delete;
1609         CResult_FundingCreatedDecodeErrorZ(CResult_FundingCreatedDecodeErrorZ&& o) : self(o.self) { memset(&o, 0, sizeof(CResult_FundingCreatedDecodeErrorZ)); }
1610         CResult_FundingCreatedDecodeErrorZ(LDKCResult_FundingCreatedDecodeErrorZ&& m_self) : self(m_self) { memset(&m_self, 0, sizeof(LDKCResult_FundingCreatedDecodeErrorZ)); }
1611         operator LDKCResult_FundingCreatedDecodeErrorZ() && { LDKCResult_FundingCreatedDecodeErrorZ res = self; memset(&self, 0, sizeof(LDKCResult_FundingCreatedDecodeErrorZ)); return res; }
1612         ~CResult_FundingCreatedDecodeErrorZ() { CResult_FundingCreatedDecodeErrorZ_free(self); }
1613         CResult_FundingCreatedDecodeErrorZ& operator=(CResult_FundingCreatedDecodeErrorZ&& o) { CResult_FundingCreatedDecodeErrorZ_free(self); self = o.self; memset(&o, 0, sizeof(CResult_FundingCreatedDecodeErrorZ)); return *this; }
1614         LDKCResult_FundingCreatedDecodeErrorZ* operator &() { return &self; }
1615         LDKCResult_FundingCreatedDecodeErrorZ* operator ->() { return &self; }
1616         const LDKCResult_FundingCreatedDecodeErrorZ* operator &() const { return &self; }
1617         const LDKCResult_FundingCreatedDecodeErrorZ* operator ->() const { return &self; }
1618 };
1619 class CResult_ChannelAnnouncementDecodeErrorZ {
1620 private:
1621         LDKCResult_ChannelAnnouncementDecodeErrorZ self;
1622 public:
1623         CResult_ChannelAnnouncementDecodeErrorZ(const CResult_ChannelAnnouncementDecodeErrorZ&) = delete;
1624         CResult_ChannelAnnouncementDecodeErrorZ(CResult_ChannelAnnouncementDecodeErrorZ&& o) : self(o.self) { memset(&o, 0, sizeof(CResult_ChannelAnnouncementDecodeErrorZ)); }
1625         CResult_ChannelAnnouncementDecodeErrorZ(LDKCResult_ChannelAnnouncementDecodeErrorZ&& m_self) : self(m_self) { memset(&m_self, 0, sizeof(LDKCResult_ChannelAnnouncementDecodeErrorZ)); }
1626         operator LDKCResult_ChannelAnnouncementDecodeErrorZ() && { LDKCResult_ChannelAnnouncementDecodeErrorZ res = self; memset(&self, 0, sizeof(LDKCResult_ChannelAnnouncementDecodeErrorZ)); return res; }
1627         ~CResult_ChannelAnnouncementDecodeErrorZ() { CResult_ChannelAnnouncementDecodeErrorZ_free(self); }
1628         CResult_ChannelAnnouncementDecodeErrorZ& operator=(CResult_ChannelAnnouncementDecodeErrorZ&& o) { CResult_ChannelAnnouncementDecodeErrorZ_free(self); self = o.self; memset(&o, 0, sizeof(CResult_ChannelAnnouncementDecodeErrorZ)); return *this; }
1629         LDKCResult_ChannelAnnouncementDecodeErrorZ* operator &() { return &self; }
1630         LDKCResult_ChannelAnnouncementDecodeErrorZ* operator ->() { return &self; }
1631         const LDKCResult_ChannelAnnouncementDecodeErrorZ* operator &() const { return &self; }
1632         const LDKCResult_ChannelAnnouncementDecodeErrorZ* operator ->() const { return &self; }
1633 };
1634 class CResult_HTLCUpdateDecodeErrorZ {
1635 private:
1636         LDKCResult_HTLCUpdateDecodeErrorZ self;
1637 public:
1638         CResult_HTLCUpdateDecodeErrorZ(const CResult_HTLCUpdateDecodeErrorZ&) = delete;
1639         CResult_HTLCUpdateDecodeErrorZ(CResult_HTLCUpdateDecodeErrorZ&& o) : self(o.self) { memset(&o, 0, sizeof(CResult_HTLCUpdateDecodeErrorZ)); }
1640         CResult_HTLCUpdateDecodeErrorZ(LDKCResult_HTLCUpdateDecodeErrorZ&& m_self) : self(m_self) { memset(&m_self, 0, sizeof(LDKCResult_HTLCUpdateDecodeErrorZ)); }
1641         operator LDKCResult_HTLCUpdateDecodeErrorZ() && { LDKCResult_HTLCUpdateDecodeErrorZ res = self; memset(&self, 0, sizeof(LDKCResult_HTLCUpdateDecodeErrorZ)); return res; }
1642         ~CResult_HTLCUpdateDecodeErrorZ() { CResult_HTLCUpdateDecodeErrorZ_free(self); }
1643         CResult_HTLCUpdateDecodeErrorZ& operator=(CResult_HTLCUpdateDecodeErrorZ&& o) { CResult_HTLCUpdateDecodeErrorZ_free(self); self = o.self; memset(&o, 0, sizeof(CResult_HTLCUpdateDecodeErrorZ)); return *this; }
1644         LDKCResult_HTLCUpdateDecodeErrorZ* operator &() { return &self; }
1645         LDKCResult_HTLCUpdateDecodeErrorZ* operator ->() { return &self; }
1646         const LDKCResult_HTLCUpdateDecodeErrorZ* operator &() const { return &self; }
1647         const LDKCResult_HTLCUpdateDecodeErrorZ* operator ->() const { return &self; }
1648 };
1649 class CVec_C2Tuple_u32TxOutZZ {
1650 private:
1651         LDKCVec_C2Tuple_u32TxOutZZ self;
1652 public:
1653         CVec_C2Tuple_u32TxOutZZ(const CVec_C2Tuple_u32TxOutZZ&) = delete;
1654         CVec_C2Tuple_u32TxOutZZ(CVec_C2Tuple_u32TxOutZZ&& o) : self(o.self) { memset(&o, 0, sizeof(CVec_C2Tuple_u32TxOutZZ)); }
1655         CVec_C2Tuple_u32TxOutZZ(LDKCVec_C2Tuple_u32TxOutZZ&& m_self) : self(m_self) { memset(&m_self, 0, sizeof(LDKCVec_C2Tuple_u32TxOutZZ)); }
1656         operator LDKCVec_C2Tuple_u32TxOutZZ() && { LDKCVec_C2Tuple_u32TxOutZZ res = self; memset(&self, 0, sizeof(LDKCVec_C2Tuple_u32TxOutZZ)); return res; }
1657         ~CVec_C2Tuple_u32TxOutZZ() { CVec_C2Tuple_u32TxOutZZ_free(self); }
1658         CVec_C2Tuple_u32TxOutZZ& operator=(CVec_C2Tuple_u32TxOutZZ&& o) { CVec_C2Tuple_u32TxOutZZ_free(self); self = o.self; memset(&o, 0, sizeof(CVec_C2Tuple_u32TxOutZZ)); return *this; }
1659         LDKCVec_C2Tuple_u32TxOutZZ* operator &() { return &self; }
1660         LDKCVec_C2Tuple_u32TxOutZZ* operator ->() { return &self; }
1661         const LDKCVec_C2Tuple_u32TxOutZZ* operator &() const { return &self; }
1662         const LDKCVec_C2Tuple_u32TxOutZZ* operator ->() const { return &self; }
1663 };
1664 class C2Tuple_SignatureCVec_SignatureZZ {
1665 private:
1666         LDKC2Tuple_SignatureCVec_SignatureZZ self;
1667 public:
1668         C2Tuple_SignatureCVec_SignatureZZ(const C2Tuple_SignatureCVec_SignatureZZ&) = delete;
1669         C2Tuple_SignatureCVec_SignatureZZ(C2Tuple_SignatureCVec_SignatureZZ&& o) : self(o.self) { memset(&o, 0, sizeof(C2Tuple_SignatureCVec_SignatureZZ)); }
1670         C2Tuple_SignatureCVec_SignatureZZ(LDKC2Tuple_SignatureCVec_SignatureZZ&& m_self) : self(m_self) { memset(&m_self, 0, sizeof(LDKC2Tuple_SignatureCVec_SignatureZZ)); }
1671         operator LDKC2Tuple_SignatureCVec_SignatureZZ() && { LDKC2Tuple_SignatureCVec_SignatureZZ res = self; memset(&self, 0, sizeof(LDKC2Tuple_SignatureCVec_SignatureZZ)); return res; }
1672         ~C2Tuple_SignatureCVec_SignatureZZ() { C2Tuple_SignatureCVec_SignatureZZ_free(self); }
1673         C2Tuple_SignatureCVec_SignatureZZ& operator=(C2Tuple_SignatureCVec_SignatureZZ&& o) { C2Tuple_SignatureCVec_SignatureZZ_free(self); self = o.self; memset(&o, 0, sizeof(C2Tuple_SignatureCVec_SignatureZZ)); return *this; }
1674         LDKC2Tuple_SignatureCVec_SignatureZZ* operator &() { return &self; }
1675         LDKC2Tuple_SignatureCVec_SignatureZZ* operator ->() { return &self; }
1676         const LDKC2Tuple_SignatureCVec_SignatureZZ* operator &() const { return &self; }
1677         const LDKC2Tuple_SignatureCVec_SignatureZZ* operator ->() const { return &self; }
1678 };
1679 class CResult_ChannelInfoDecodeErrorZ {
1680 private:
1681         LDKCResult_ChannelInfoDecodeErrorZ self;
1682 public:
1683         CResult_ChannelInfoDecodeErrorZ(const CResult_ChannelInfoDecodeErrorZ&) = delete;
1684         CResult_ChannelInfoDecodeErrorZ(CResult_ChannelInfoDecodeErrorZ&& o) : self(o.self) { memset(&o, 0, sizeof(CResult_ChannelInfoDecodeErrorZ)); }
1685         CResult_ChannelInfoDecodeErrorZ(LDKCResult_ChannelInfoDecodeErrorZ&& m_self) : self(m_self) { memset(&m_self, 0, sizeof(LDKCResult_ChannelInfoDecodeErrorZ)); }
1686         operator LDKCResult_ChannelInfoDecodeErrorZ() && { LDKCResult_ChannelInfoDecodeErrorZ res = self; memset(&self, 0, sizeof(LDKCResult_ChannelInfoDecodeErrorZ)); return res; }
1687         ~CResult_ChannelInfoDecodeErrorZ() { CResult_ChannelInfoDecodeErrorZ_free(self); }
1688         CResult_ChannelInfoDecodeErrorZ& operator=(CResult_ChannelInfoDecodeErrorZ&& o) { CResult_ChannelInfoDecodeErrorZ_free(self); self = o.self; memset(&o, 0, sizeof(CResult_ChannelInfoDecodeErrorZ)); return *this; }
1689         LDKCResult_ChannelInfoDecodeErrorZ* operator &() { return &self; }
1690         LDKCResult_ChannelInfoDecodeErrorZ* operator ->() { return &self; }
1691         const LDKCResult_ChannelInfoDecodeErrorZ* operator &() const { return &self; }
1692         const LDKCResult_ChannelInfoDecodeErrorZ* operator ->() const { return &self; }
1693 };
1694 class CResult_CVec_u8ZPeerHandleErrorZ {
1695 private:
1696         LDKCResult_CVec_u8ZPeerHandleErrorZ self;
1697 public:
1698         CResult_CVec_u8ZPeerHandleErrorZ(const CResult_CVec_u8ZPeerHandleErrorZ&) = delete;
1699         CResult_CVec_u8ZPeerHandleErrorZ(CResult_CVec_u8ZPeerHandleErrorZ&& o) : self(o.self) { memset(&o, 0, sizeof(CResult_CVec_u8ZPeerHandleErrorZ)); }
1700         CResult_CVec_u8ZPeerHandleErrorZ(LDKCResult_CVec_u8ZPeerHandleErrorZ&& m_self) : self(m_self) { memset(&m_self, 0, sizeof(LDKCResult_CVec_u8ZPeerHandleErrorZ)); }
1701         operator LDKCResult_CVec_u8ZPeerHandleErrorZ() && { LDKCResult_CVec_u8ZPeerHandleErrorZ res = self; memset(&self, 0, sizeof(LDKCResult_CVec_u8ZPeerHandleErrorZ)); return res; }
1702         ~CResult_CVec_u8ZPeerHandleErrorZ() { CResult_CVec_u8ZPeerHandleErrorZ_free(self); }
1703         CResult_CVec_u8ZPeerHandleErrorZ& operator=(CResult_CVec_u8ZPeerHandleErrorZ&& o) { CResult_CVec_u8ZPeerHandleErrorZ_free(self); self = o.self; memset(&o, 0, sizeof(CResult_CVec_u8ZPeerHandleErrorZ)); return *this; }
1704         LDKCResult_CVec_u8ZPeerHandleErrorZ* operator &() { return &self; }
1705         LDKCResult_CVec_u8ZPeerHandleErrorZ* operator ->() { return &self; }
1706         const LDKCResult_CVec_u8ZPeerHandleErrorZ* operator &() const { return &self; }
1707         const LDKCResult_CVec_u8ZPeerHandleErrorZ* operator ->() const { return &self; }
1708 };
1709 class CResult_ChannelMonitorUpdateDecodeErrorZ {
1710 private:
1711         LDKCResult_ChannelMonitorUpdateDecodeErrorZ self;
1712 public:
1713         CResult_ChannelMonitorUpdateDecodeErrorZ(const CResult_ChannelMonitorUpdateDecodeErrorZ&) = delete;
1714         CResult_ChannelMonitorUpdateDecodeErrorZ(CResult_ChannelMonitorUpdateDecodeErrorZ&& o) : self(o.self) { memset(&o, 0, sizeof(CResult_ChannelMonitorUpdateDecodeErrorZ)); }
1715         CResult_ChannelMonitorUpdateDecodeErrorZ(LDKCResult_ChannelMonitorUpdateDecodeErrorZ&& m_self) : self(m_self) { memset(&m_self, 0, sizeof(LDKCResult_ChannelMonitorUpdateDecodeErrorZ)); }
1716         operator LDKCResult_ChannelMonitorUpdateDecodeErrorZ() && { LDKCResult_ChannelMonitorUpdateDecodeErrorZ res = self; memset(&self, 0, sizeof(LDKCResult_ChannelMonitorUpdateDecodeErrorZ)); return res; }
1717         ~CResult_ChannelMonitorUpdateDecodeErrorZ() { CResult_ChannelMonitorUpdateDecodeErrorZ_free(self); }
1718         CResult_ChannelMonitorUpdateDecodeErrorZ& operator=(CResult_ChannelMonitorUpdateDecodeErrorZ&& o) { CResult_ChannelMonitorUpdateDecodeErrorZ_free(self); self = o.self; memset(&o, 0, sizeof(CResult_ChannelMonitorUpdateDecodeErrorZ)); return *this; }
1719         LDKCResult_ChannelMonitorUpdateDecodeErrorZ* operator &() { return &self; }
1720         LDKCResult_ChannelMonitorUpdateDecodeErrorZ* operator ->() { return &self; }
1721         const LDKCResult_ChannelMonitorUpdateDecodeErrorZ* operator &() const { return &self; }
1722         const LDKCResult_ChannelMonitorUpdateDecodeErrorZ* operator ->() const { return &self; }
1723 };
1724 class CResult_ReplyChannelRangeDecodeErrorZ {
1725 private:
1726         LDKCResult_ReplyChannelRangeDecodeErrorZ self;
1727 public:
1728         CResult_ReplyChannelRangeDecodeErrorZ(const CResult_ReplyChannelRangeDecodeErrorZ&) = delete;
1729         CResult_ReplyChannelRangeDecodeErrorZ(CResult_ReplyChannelRangeDecodeErrorZ&& o) : self(o.self) { memset(&o, 0, sizeof(CResult_ReplyChannelRangeDecodeErrorZ)); }
1730         CResult_ReplyChannelRangeDecodeErrorZ(LDKCResult_ReplyChannelRangeDecodeErrorZ&& m_self) : self(m_self) { memset(&m_self, 0, sizeof(LDKCResult_ReplyChannelRangeDecodeErrorZ)); }
1731         operator LDKCResult_ReplyChannelRangeDecodeErrorZ() && { LDKCResult_ReplyChannelRangeDecodeErrorZ res = self; memset(&self, 0, sizeof(LDKCResult_ReplyChannelRangeDecodeErrorZ)); return res; }
1732         ~CResult_ReplyChannelRangeDecodeErrorZ() { CResult_ReplyChannelRangeDecodeErrorZ_free(self); }
1733         CResult_ReplyChannelRangeDecodeErrorZ& operator=(CResult_ReplyChannelRangeDecodeErrorZ&& o) { CResult_ReplyChannelRangeDecodeErrorZ_free(self); self = o.self; memset(&o, 0, sizeof(CResult_ReplyChannelRangeDecodeErrorZ)); return *this; }
1734         LDKCResult_ReplyChannelRangeDecodeErrorZ* operator &() { return &self; }
1735         LDKCResult_ReplyChannelRangeDecodeErrorZ* operator ->() { return &self; }
1736         const LDKCResult_ReplyChannelRangeDecodeErrorZ* operator &() const { return &self; }
1737         const LDKCResult_ReplyChannelRangeDecodeErrorZ* operator ->() const { return &self; }
1738 };
1739 class CResult_GossipTimestampFilterDecodeErrorZ {
1740 private:
1741         LDKCResult_GossipTimestampFilterDecodeErrorZ self;
1742 public:
1743         CResult_GossipTimestampFilterDecodeErrorZ(const CResult_GossipTimestampFilterDecodeErrorZ&) = delete;
1744         CResult_GossipTimestampFilterDecodeErrorZ(CResult_GossipTimestampFilterDecodeErrorZ&& o) : self(o.self) { memset(&o, 0, sizeof(CResult_GossipTimestampFilterDecodeErrorZ)); }
1745         CResult_GossipTimestampFilterDecodeErrorZ(LDKCResult_GossipTimestampFilterDecodeErrorZ&& m_self) : self(m_self) { memset(&m_self, 0, sizeof(LDKCResult_GossipTimestampFilterDecodeErrorZ)); }
1746         operator LDKCResult_GossipTimestampFilterDecodeErrorZ() && { LDKCResult_GossipTimestampFilterDecodeErrorZ res = self; memset(&self, 0, sizeof(LDKCResult_GossipTimestampFilterDecodeErrorZ)); return res; }
1747         ~CResult_GossipTimestampFilterDecodeErrorZ() { CResult_GossipTimestampFilterDecodeErrorZ_free(self); }
1748         CResult_GossipTimestampFilterDecodeErrorZ& operator=(CResult_GossipTimestampFilterDecodeErrorZ&& o) { CResult_GossipTimestampFilterDecodeErrorZ_free(self); self = o.self; memset(&o, 0, sizeof(CResult_GossipTimestampFilterDecodeErrorZ)); return *this; }
1749         LDKCResult_GossipTimestampFilterDecodeErrorZ* operator &() { return &self; }
1750         LDKCResult_GossipTimestampFilterDecodeErrorZ* operator ->() { return &self; }
1751         const LDKCResult_GossipTimestampFilterDecodeErrorZ* operator &() const { return &self; }
1752         const LDKCResult_GossipTimestampFilterDecodeErrorZ* operator ->() const { return &self; }
1753 };
1754 class CResult_TxOutAccessErrorZ {
1755 private:
1756         LDKCResult_TxOutAccessErrorZ self;
1757 public:
1758         CResult_TxOutAccessErrorZ(const CResult_TxOutAccessErrorZ&) = delete;
1759         CResult_TxOutAccessErrorZ(CResult_TxOutAccessErrorZ&& o) : self(o.self) { memset(&o, 0, sizeof(CResult_TxOutAccessErrorZ)); }
1760         CResult_TxOutAccessErrorZ(LDKCResult_TxOutAccessErrorZ&& m_self) : self(m_self) { memset(&m_self, 0, sizeof(LDKCResult_TxOutAccessErrorZ)); }
1761         operator LDKCResult_TxOutAccessErrorZ() && { LDKCResult_TxOutAccessErrorZ res = self; memset(&self, 0, sizeof(LDKCResult_TxOutAccessErrorZ)); return res; }
1762         ~CResult_TxOutAccessErrorZ() { CResult_TxOutAccessErrorZ_free(self); }
1763         CResult_TxOutAccessErrorZ& operator=(CResult_TxOutAccessErrorZ&& o) { CResult_TxOutAccessErrorZ_free(self); self = o.self; memset(&o, 0, sizeof(CResult_TxOutAccessErrorZ)); return *this; }
1764         LDKCResult_TxOutAccessErrorZ* operator &() { return &self; }
1765         LDKCResult_TxOutAccessErrorZ* operator ->() { return &self; }
1766         const LDKCResult_TxOutAccessErrorZ* operator &() const { return &self; }
1767         const LDKCResult_TxOutAccessErrorZ* operator ->() const { return &self; }
1768 };
1769 class CResult_UnsignedNodeAnnouncementDecodeErrorZ {
1770 private:
1771         LDKCResult_UnsignedNodeAnnouncementDecodeErrorZ self;
1772 public:
1773         CResult_UnsignedNodeAnnouncementDecodeErrorZ(const CResult_UnsignedNodeAnnouncementDecodeErrorZ&) = delete;
1774         CResult_UnsignedNodeAnnouncementDecodeErrorZ(CResult_UnsignedNodeAnnouncementDecodeErrorZ&& o) : self(o.self) { memset(&o, 0, sizeof(CResult_UnsignedNodeAnnouncementDecodeErrorZ)); }
1775         CResult_UnsignedNodeAnnouncementDecodeErrorZ(LDKCResult_UnsignedNodeAnnouncementDecodeErrorZ&& m_self) : self(m_self) { memset(&m_self, 0, sizeof(LDKCResult_UnsignedNodeAnnouncementDecodeErrorZ)); }
1776         operator LDKCResult_UnsignedNodeAnnouncementDecodeErrorZ() && { LDKCResult_UnsignedNodeAnnouncementDecodeErrorZ res = self; memset(&self, 0, sizeof(LDKCResult_UnsignedNodeAnnouncementDecodeErrorZ)); return res; }
1777         ~CResult_UnsignedNodeAnnouncementDecodeErrorZ() { CResult_UnsignedNodeAnnouncementDecodeErrorZ_free(self); }
1778         CResult_UnsignedNodeAnnouncementDecodeErrorZ& operator=(CResult_UnsignedNodeAnnouncementDecodeErrorZ&& o) { CResult_UnsignedNodeAnnouncementDecodeErrorZ_free(self); self = o.self; memset(&o, 0, sizeof(CResult_UnsignedNodeAnnouncementDecodeErrorZ)); return *this; }
1779         LDKCResult_UnsignedNodeAnnouncementDecodeErrorZ* operator &() { return &self; }
1780         LDKCResult_UnsignedNodeAnnouncementDecodeErrorZ* operator ->() { return &self; }
1781         const LDKCResult_UnsignedNodeAnnouncementDecodeErrorZ* operator &() const { return &self; }
1782         const LDKCResult_UnsignedNodeAnnouncementDecodeErrorZ* operator ->() const { return &self; }
1783 };
1784 class CResult_ChannelReestablishDecodeErrorZ {
1785 private:
1786         LDKCResult_ChannelReestablishDecodeErrorZ self;
1787 public:
1788         CResult_ChannelReestablishDecodeErrorZ(const CResult_ChannelReestablishDecodeErrorZ&) = delete;
1789         CResult_ChannelReestablishDecodeErrorZ(CResult_ChannelReestablishDecodeErrorZ&& o) : self(o.self) { memset(&o, 0, sizeof(CResult_ChannelReestablishDecodeErrorZ)); }
1790         CResult_ChannelReestablishDecodeErrorZ(LDKCResult_ChannelReestablishDecodeErrorZ&& m_self) : self(m_self) { memset(&m_self, 0, sizeof(LDKCResult_ChannelReestablishDecodeErrorZ)); }
1791         operator LDKCResult_ChannelReestablishDecodeErrorZ() && { LDKCResult_ChannelReestablishDecodeErrorZ res = self; memset(&self, 0, sizeof(LDKCResult_ChannelReestablishDecodeErrorZ)); return res; }
1792         ~CResult_ChannelReestablishDecodeErrorZ() { CResult_ChannelReestablishDecodeErrorZ_free(self); }
1793         CResult_ChannelReestablishDecodeErrorZ& operator=(CResult_ChannelReestablishDecodeErrorZ&& o) { CResult_ChannelReestablishDecodeErrorZ_free(self); self = o.self; memset(&o, 0, sizeof(CResult_ChannelReestablishDecodeErrorZ)); return *this; }
1794         LDKCResult_ChannelReestablishDecodeErrorZ* operator &() { return &self; }
1795         LDKCResult_ChannelReestablishDecodeErrorZ* operator ->() { return &self; }
1796         const LDKCResult_ChannelReestablishDecodeErrorZ* operator &() const { return &self; }
1797         const LDKCResult_ChannelReestablishDecodeErrorZ* operator ->() const { return &self; }
1798 };
1799 class CResult_CommitmentSignedDecodeErrorZ {
1800 private:
1801         LDKCResult_CommitmentSignedDecodeErrorZ self;
1802 public:
1803         CResult_CommitmentSignedDecodeErrorZ(const CResult_CommitmentSignedDecodeErrorZ&) = delete;
1804         CResult_CommitmentSignedDecodeErrorZ(CResult_CommitmentSignedDecodeErrorZ&& o) : self(o.self) { memset(&o, 0, sizeof(CResult_CommitmentSignedDecodeErrorZ)); }
1805         CResult_CommitmentSignedDecodeErrorZ(LDKCResult_CommitmentSignedDecodeErrorZ&& m_self) : self(m_self) { memset(&m_self, 0, sizeof(LDKCResult_CommitmentSignedDecodeErrorZ)); }
1806         operator LDKCResult_CommitmentSignedDecodeErrorZ() && { LDKCResult_CommitmentSignedDecodeErrorZ res = self; memset(&self, 0, sizeof(LDKCResult_CommitmentSignedDecodeErrorZ)); return res; }
1807         ~CResult_CommitmentSignedDecodeErrorZ() { CResult_CommitmentSignedDecodeErrorZ_free(self); }
1808         CResult_CommitmentSignedDecodeErrorZ& operator=(CResult_CommitmentSignedDecodeErrorZ&& o) { CResult_CommitmentSignedDecodeErrorZ_free(self); self = o.self; memset(&o, 0, sizeof(CResult_CommitmentSignedDecodeErrorZ)); return *this; }
1809         LDKCResult_CommitmentSignedDecodeErrorZ* operator &() { return &self; }
1810         LDKCResult_CommitmentSignedDecodeErrorZ* operator ->() { return &self; }
1811         const LDKCResult_CommitmentSignedDecodeErrorZ* operator &() const { return &self; }
1812         const LDKCResult_CommitmentSignedDecodeErrorZ* operator ->() const { return &self; }
1813 };
1814 class CVec_UpdateAddHTLCZ {
1815 private:
1816         LDKCVec_UpdateAddHTLCZ self;
1817 public:
1818         CVec_UpdateAddHTLCZ(const CVec_UpdateAddHTLCZ&) = delete;
1819         CVec_UpdateAddHTLCZ(CVec_UpdateAddHTLCZ&& o) : self(o.self) { memset(&o, 0, sizeof(CVec_UpdateAddHTLCZ)); }
1820         CVec_UpdateAddHTLCZ(LDKCVec_UpdateAddHTLCZ&& m_self) : self(m_self) { memset(&m_self, 0, sizeof(LDKCVec_UpdateAddHTLCZ)); }
1821         operator LDKCVec_UpdateAddHTLCZ() && { LDKCVec_UpdateAddHTLCZ res = self; memset(&self, 0, sizeof(LDKCVec_UpdateAddHTLCZ)); return res; }
1822         ~CVec_UpdateAddHTLCZ() { CVec_UpdateAddHTLCZ_free(self); }
1823         CVec_UpdateAddHTLCZ& operator=(CVec_UpdateAddHTLCZ&& o) { CVec_UpdateAddHTLCZ_free(self); self = o.self; memset(&o, 0, sizeof(CVec_UpdateAddHTLCZ)); return *this; }
1824         LDKCVec_UpdateAddHTLCZ* operator &() { return &self; }
1825         LDKCVec_UpdateAddHTLCZ* operator ->() { return &self; }
1826         const LDKCVec_UpdateAddHTLCZ* operator &() const { return &self; }
1827         const LDKCVec_UpdateAddHTLCZ* operator ->() const { return &self; }
1828 };
1829 class CResult_InitFeaturesDecodeErrorZ {
1830 private:
1831         LDKCResult_InitFeaturesDecodeErrorZ self;
1832 public:
1833         CResult_InitFeaturesDecodeErrorZ(const CResult_InitFeaturesDecodeErrorZ&) = delete;
1834         CResult_InitFeaturesDecodeErrorZ(CResult_InitFeaturesDecodeErrorZ&& o) : self(o.self) { memset(&o, 0, sizeof(CResult_InitFeaturesDecodeErrorZ)); }
1835         CResult_InitFeaturesDecodeErrorZ(LDKCResult_InitFeaturesDecodeErrorZ&& m_self) : self(m_self) { memset(&m_self, 0, sizeof(LDKCResult_InitFeaturesDecodeErrorZ)); }
1836         operator LDKCResult_InitFeaturesDecodeErrorZ() && { LDKCResult_InitFeaturesDecodeErrorZ res = self; memset(&self, 0, sizeof(LDKCResult_InitFeaturesDecodeErrorZ)); return res; }
1837         ~CResult_InitFeaturesDecodeErrorZ() { CResult_InitFeaturesDecodeErrorZ_free(self); }
1838         CResult_InitFeaturesDecodeErrorZ& operator=(CResult_InitFeaturesDecodeErrorZ&& o) { CResult_InitFeaturesDecodeErrorZ_free(self); self = o.self; memset(&o, 0, sizeof(CResult_InitFeaturesDecodeErrorZ)); return *this; }
1839         LDKCResult_InitFeaturesDecodeErrorZ* operator &() { return &self; }
1840         LDKCResult_InitFeaturesDecodeErrorZ* operator ->() { return &self; }
1841         const LDKCResult_InitFeaturesDecodeErrorZ* operator &() const { return &self; }
1842         const LDKCResult_InitFeaturesDecodeErrorZ* operator ->() const { return &self; }
1843 };
1844 class CResult_CommitmentTransactionDecodeErrorZ {
1845 private:
1846         LDKCResult_CommitmentTransactionDecodeErrorZ self;
1847 public:
1848         CResult_CommitmentTransactionDecodeErrorZ(const CResult_CommitmentTransactionDecodeErrorZ&) = delete;
1849         CResult_CommitmentTransactionDecodeErrorZ(CResult_CommitmentTransactionDecodeErrorZ&& o) : self(o.self) { memset(&o, 0, sizeof(CResult_CommitmentTransactionDecodeErrorZ)); }
1850         CResult_CommitmentTransactionDecodeErrorZ(LDKCResult_CommitmentTransactionDecodeErrorZ&& m_self) : self(m_self) { memset(&m_self, 0, sizeof(LDKCResult_CommitmentTransactionDecodeErrorZ)); }
1851         operator LDKCResult_CommitmentTransactionDecodeErrorZ() && { LDKCResult_CommitmentTransactionDecodeErrorZ res = self; memset(&self, 0, sizeof(LDKCResult_CommitmentTransactionDecodeErrorZ)); return res; }
1852         ~CResult_CommitmentTransactionDecodeErrorZ() { CResult_CommitmentTransactionDecodeErrorZ_free(self); }
1853         CResult_CommitmentTransactionDecodeErrorZ& operator=(CResult_CommitmentTransactionDecodeErrorZ&& o) { CResult_CommitmentTransactionDecodeErrorZ_free(self); self = o.self; memset(&o, 0, sizeof(CResult_CommitmentTransactionDecodeErrorZ)); return *this; }
1854         LDKCResult_CommitmentTransactionDecodeErrorZ* operator &() { return &self; }
1855         LDKCResult_CommitmentTransactionDecodeErrorZ* operator ->() { return &self; }
1856         const LDKCResult_CommitmentTransactionDecodeErrorZ* operator &() const { return &self; }
1857         const LDKCResult_CommitmentTransactionDecodeErrorZ* operator ->() const { return &self; }
1858 };
1859 class CResult_TransactionNoneZ {
1860 private:
1861         LDKCResult_TransactionNoneZ self;
1862 public:
1863         CResult_TransactionNoneZ(const CResult_TransactionNoneZ&) = delete;
1864         CResult_TransactionNoneZ(CResult_TransactionNoneZ&& o) : self(o.self) { memset(&o, 0, sizeof(CResult_TransactionNoneZ)); }
1865         CResult_TransactionNoneZ(LDKCResult_TransactionNoneZ&& m_self) : self(m_self) { memset(&m_self, 0, sizeof(LDKCResult_TransactionNoneZ)); }
1866         operator LDKCResult_TransactionNoneZ() && { LDKCResult_TransactionNoneZ res = self; memset(&self, 0, sizeof(LDKCResult_TransactionNoneZ)); return res; }
1867         ~CResult_TransactionNoneZ() { CResult_TransactionNoneZ_free(self); }
1868         CResult_TransactionNoneZ& operator=(CResult_TransactionNoneZ&& o) { CResult_TransactionNoneZ_free(self); self = o.self; memset(&o, 0, sizeof(CResult_TransactionNoneZ)); return *this; }
1869         LDKCResult_TransactionNoneZ* operator &() { return &self; }
1870         LDKCResult_TransactionNoneZ* operator ->() { return &self; }
1871         const LDKCResult_TransactionNoneZ* operator &() const { return &self; }
1872         const LDKCResult_TransactionNoneZ* operator ->() const { return &self; }
1873 };
1874 class CResult_PingDecodeErrorZ {
1875 private:
1876         LDKCResult_PingDecodeErrorZ self;
1877 public:
1878         CResult_PingDecodeErrorZ(const CResult_PingDecodeErrorZ&) = delete;
1879         CResult_PingDecodeErrorZ(CResult_PingDecodeErrorZ&& o) : self(o.self) { memset(&o, 0, sizeof(CResult_PingDecodeErrorZ)); }
1880         CResult_PingDecodeErrorZ(LDKCResult_PingDecodeErrorZ&& m_self) : self(m_self) { memset(&m_self, 0, sizeof(LDKCResult_PingDecodeErrorZ)); }
1881         operator LDKCResult_PingDecodeErrorZ() && { LDKCResult_PingDecodeErrorZ res = self; memset(&self, 0, sizeof(LDKCResult_PingDecodeErrorZ)); return res; }
1882         ~CResult_PingDecodeErrorZ() { CResult_PingDecodeErrorZ_free(self); }
1883         CResult_PingDecodeErrorZ& operator=(CResult_PingDecodeErrorZ&& o) { CResult_PingDecodeErrorZ_free(self); self = o.self; memset(&o, 0, sizeof(CResult_PingDecodeErrorZ)); return *this; }
1884         LDKCResult_PingDecodeErrorZ* operator &() { return &self; }
1885         LDKCResult_PingDecodeErrorZ* operator ->() { return &self; }
1886         const LDKCResult_PingDecodeErrorZ* operator &() const { return &self; }
1887         const LDKCResult_PingDecodeErrorZ* operator ->() const { return &self; }
1888 };
1889 class CResult_ErrorMessageDecodeErrorZ {
1890 private:
1891         LDKCResult_ErrorMessageDecodeErrorZ self;
1892 public:
1893         CResult_ErrorMessageDecodeErrorZ(const CResult_ErrorMessageDecodeErrorZ&) = delete;
1894         CResult_ErrorMessageDecodeErrorZ(CResult_ErrorMessageDecodeErrorZ&& o) : self(o.self) { memset(&o, 0, sizeof(CResult_ErrorMessageDecodeErrorZ)); }
1895         CResult_ErrorMessageDecodeErrorZ(LDKCResult_ErrorMessageDecodeErrorZ&& m_self) : self(m_self) { memset(&m_self, 0, sizeof(LDKCResult_ErrorMessageDecodeErrorZ)); }
1896         operator LDKCResult_ErrorMessageDecodeErrorZ() && { LDKCResult_ErrorMessageDecodeErrorZ res = self; memset(&self, 0, sizeof(LDKCResult_ErrorMessageDecodeErrorZ)); return res; }
1897         ~CResult_ErrorMessageDecodeErrorZ() { CResult_ErrorMessageDecodeErrorZ_free(self); }
1898         CResult_ErrorMessageDecodeErrorZ& operator=(CResult_ErrorMessageDecodeErrorZ&& o) { CResult_ErrorMessageDecodeErrorZ_free(self); self = o.self; memset(&o, 0, sizeof(CResult_ErrorMessageDecodeErrorZ)); return *this; }
1899         LDKCResult_ErrorMessageDecodeErrorZ* operator &() { return &self; }
1900         LDKCResult_ErrorMessageDecodeErrorZ* operator ->() { return &self; }
1901         const LDKCResult_ErrorMessageDecodeErrorZ* operator &() const { return &self; }
1902         const LDKCResult_ErrorMessageDecodeErrorZ* operator ->() const { return &self; }
1903 };
1904 class CResult_OpenChannelDecodeErrorZ {
1905 private:
1906         LDKCResult_OpenChannelDecodeErrorZ self;
1907 public:
1908         CResult_OpenChannelDecodeErrorZ(const CResult_OpenChannelDecodeErrorZ&) = delete;
1909         CResult_OpenChannelDecodeErrorZ(CResult_OpenChannelDecodeErrorZ&& o) : self(o.self) { memset(&o, 0, sizeof(CResult_OpenChannelDecodeErrorZ)); }
1910         CResult_OpenChannelDecodeErrorZ(LDKCResult_OpenChannelDecodeErrorZ&& m_self) : self(m_self) { memset(&m_self, 0, sizeof(LDKCResult_OpenChannelDecodeErrorZ)); }
1911         operator LDKCResult_OpenChannelDecodeErrorZ() && { LDKCResult_OpenChannelDecodeErrorZ res = self; memset(&self, 0, sizeof(LDKCResult_OpenChannelDecodeErrorZ)); return res; }
1912         ~CResult_OpenChannelDecodeErrorZ() { CResult_OpenChannelDecodeErrorZ_free(self); }
1913         CResult_OpenChannelDecodeErrorZ& operator=(CResult_OpenChannelDecodeErrorZ&& o) { CResult_OpenChannelDecodeErrorZ_free(self); self = o.self; memset(&o, 0, sizeof(CResult_OpenChannelDecodeErrorZ)); return *this; }
1914         LDKCResult_OpenChannelDecodeErrorZ* operator &() { return &self; }
1915         LDKCResult_OpenChannelDecodeErrorZ* operator ->() { return &self; }
1916         const LDKCResult_OpenChannelDecodeErrorZ* operator &() const { return &self; }
1917         const LDKCResult_OpenChannelDecodeErrorZ* operator ->() const { return &self; }
1918 };
1919 class CVec_CVec_u8ZZ {
1920 private:
1921         LDKCVec_CVec_u8ZZ self;
1922 public:
1923         CVec_CVec_u8ZZ(const CVec_CVec_u8ZZ&) = delete;
1924         CVec_CVec_u8ZZ(CVec_CVec_u8ZZ&& o) : self(o.self) { memset(&o, 0, sizeof(CVec_CVec_u8ZZ)); }
1925         CVec_CVec_u8ZZ(LDKCVec_CVec_u8ZZ&& m_self) : self(m_self) { memset(&m_self, 0, sizeof(LDKCVec_CVec_u8ZZ)); }
1926         operator LDKCVec_CVec_u8ZZ() && { LDKCVec_CVec_u8ZZ res = self; memset(&self, 0, sizeof(LDKCVec_CVec_u8ZZ)); return res; }
1927         ~CVec_CVec_u8ZZ() { CVec_CVec_u8ZZ_free(self); }
1928         CVec_CVec_u8ZZ& operator=(CVec_CVec_u8ZZ&& o) { CVec_CVec_u8ZZ_free(self); self = o.self; memset(&o, 0, sizeof(CVec_CVec_u8ZZ)); return *this; }
1929         LDKCVec_CVec_u8ZZ* operator &() { return &self; }
1930         LDKCVec_CVec_u8ZZ* operator ->() { return &self; }
1931         const LDKCVec_CVec_u8ZZ* operator &() const { return &self; }
1932         const LDKCVec_CVec_u8ZZ* operator ->() const { return &self; }
1933 };
1934 class CResult_SecretKeyErrorZ {
1935 private:
1936         LDKCResult_SecretKeyErrorZ self;
1937 public:
1938         CResult_SecretKeyErrorZ(const CResult_SecretKeyErrorZ&) = delete;
1939         CResult_SecretKeyErrorZ(CResult_SecretKeyErrorZ&& o) : self(o.self) { memset(&o, 0, sizeof(CResult_SecretKeyErrorZ)); }
1940         CResult_SecretKeyErrorZ(LDKCResult_SecretKeyErrorZ&& m_self) : self(m_self) { memset(&m_self, 0, sizeof(LDKCResult_SecretKeyErrorZ)); }
1941         operator LDKCResult_SecretKeyErrorZ() && { LDKCResult_SecretKeyErrorZ res = self; memset(&self, 0, sizeof(LDKCResult_SecretKeyErrorZ)); return res; }
1942         ~CResult_SecretKeyErrorZ() { CResult_SecretKeyErrorZ_free(self); }
1943         CResult_SecretKeyErrorZ& operator=(CResult_SecretKeyErrorZ&& o) { CResult_SecretKeyErrorZ_free(self); self = o.self; memset(&o, 0, sizeof(CResult_SecretKeyErrorZ)); return *this; }
1944         LDKCResult_SecretKeyErrorZ* operator &() { return &self; }
1945         LDKCResult_SecretKeyErrorZ* operator ->() { return &self; }
1946         const LDKCResult_SecretKeyErrorZ* operator &() const { return &self; }
1947         const LDKCResult_SecretKeyErrorZ* operator ->() const { return &self; }
1948 };
1949 class CResult_QueryChannelRangeDecodeErrorZ {
1950 private:
1951         LDKCResult_QueryChannelRangeDecodeErrorZ self;
1952 public:
1953         CResult_QueryChannelRangeDecodeErrorZ(const CResult_QueryChannelRangeDecodeErrorZ&) = delete;
1954         CResult_QueryChannelRangeDecodeErrorZ(CResult_QueryChannelRangeDecodeErrorZ&& o) : self(o.self) { memset(&o, 0, sizeof(CResult_QueryChannelRangeDecodeErrorZ)); }
1955         CResult_QueryChannelRangeDecodeErrorZ(LDKCResult_QueryChannelRangeDecodeErrorZ&& m_self) : self(m_self) { memset(&m_self, 0, sizeof(LDKCResult_QueryChannelRangeDecodeErrorZ)); }
1956         operator LDKCResult_QueryChannelRangeDecodeErrorZ() && { LDKCResult_QueryChannelRangeDecodeErrorZ res = self; memset(&self, 0, sizeof(LDKCResult_QueryChannelRangeDecodeErrorZ)); return res; }
1957         ~CResult_QueryChannelRangeDecodeErrorZ() { CResult_QueryChannelRangeDecodeErrorZ_free(self); }
1958         CResult_QueryChannelRangeDecodeErrorZ& operator=(CResult_QueryChannelRangeDecodeErrorZ&& o) { CResult_QueryChannelRangeDecodeErrorZ_free(self); self = o.self; memset(&o, 0, sizeof(CResult_QueryChannelRangeDecodeErrorZ)); return *this; }
1959         LDKCResult_QueryChannelRangeDecodeErrorZ* operator &() { return &self; }
1960         LDKCResult_QueryChannelRangeDecodeErrorZ* operator ->() { return &self; }
1961         const LDKCResult_QueryChannelRangeDecodeErrorZ* operator &() const { return &self; }
1962         const LDKCResult_QueryChannelRangeDecodeErrorZ* operator ->() const { return &self; }
1963 };
1964 class CVec_TransactionZ {
1965 private:
1966         LDKCVec_TransactionZ self;
1967 public:
1968         CVec_TransactionZ(const CVec_TransactionZ&) = delete;
1969         CVec_TransactionZ(CVec_TransactionZ&& o) : self(o.self) { memset(&o, 0, sizeof(CVec_TransactionZ)); }
1970         CVec_TransactionZ(LDKCVec_TransactionZ&& m_self) : self(m_self) { memset(&m_self, 0, sizeof(LDKCVec_TransactionZ)); }
1971         operator LDKCVec_TransactionZ() && { LDKCVec_TransactionZ res = self; memset(&self, 0, sizeof(LDKCVec_TransactionZ)); return res; }
1972         ~CVec_TransactionZ() { CVec_TransactionZ_free(self); }
1973         CVec_TransactionZ& operator=(CVec_TransactionZ&& o) { CVec_TransactionZ_free(self); self = o.self; memset(&o, 0, sizeof(CVec_TransactionZ)); return *this; }
1974         LDKCVec_TransactionZ* operator &() { return &self; }
1975         LDKCVec_TransactionZ* operator ->() { return &self; }
1976         const LDKCVec_TransactionZ* operator &() const { return &self; }
1977         const LDKCVec_TransactionZ* operator ->() const { return &self; }
1978 };
1979 class CResult_TxCreationKeysDecodeErrorZ {
1980 private:
1981         LDKCResult_TxCreationKeysDecodeErrorZ self;
1982 public:
1983         CResult_TxCreationKeysDecodeErrorZ(const CResult_TxCreationKeysDecodeErrorZ&) = delete;
1984         CResult_TxCreationKeysDecodeErrorZ(CResult_TxCreationKeysDecodeErrorZ&& o) : self(o.self) { memset(&o, 0, sizeof(CResult_TxCreationKeysDecodeErrorZ)); }
1985         CResult_TxCreationKeysDecodeErrorZ(LDKCResult_TxCreationKeysDecodeErrorZ&& m_self) : self(m_self) { memset(&m_self, 0, sizeof(LDKCResult_TxCreationKeysDecodeErrorZ)); }
1986         operator LDKCResult_TxCreationKeysDecodeErrorZ() && { LDKCResult_TxCreationKeysDecodeErrorZ res = self; memset(&self, 0, sizeof(LDKCResult_TxCreationKeysDecodeErrorZ)); return res; }
1987         ~CResult_TxCreationKeysDecodeErrorZ() { CResult_TxCreationKeysDecodeErrorZ_free(self); }
1988         CResult_TxCreationKeysDecodeErrorZ& operator=(CResult_TxCreationKeysDecodeErrorZ&& o) { CResult_TxCreationKeysDecodeErrorZ_free(self); self = o.self; memset(&o, 0, sizeof(CResult_TxCreationKeysDecodeErrorZ)); return *this; }
1989         LDKCResult_TxCreationKeysDecodeErrorZ* operator &() { return &self; }
1990         LDKCResult_TxCreationKeysDecodeErrorZ* operator ->() { return &self; }
1991         const LDKCResult_TxCreationKeysDecodeErrorZ* operator &() const { return &self; }
1992         const LDKCResult_TxCreationKeysDecodeErrorZ* operator ->() const { return &self; }
1993 };
1994 class CResult_ChannelFeaturesDecodeErrorZ {
1995 private:
1996         LDKCResult_ChannelFeaturesDecodeErrorZ self;
1997 public:
1998         CResult_ChannelFeaturesDecodeErrorZ(const CResult_ChannelFeaturesDecodeErrorZ&) = delete;
1999         CResult_ChannelFeaturesDecodeErrorZ(CResult_ChannelFeaturesDecodeErrorZ&& o) : self(o.self) { memset(&o, 0, sizeof(CResult_ChannelFeaturesDecodeErrorZ)); }
2000         CResult_ChannelFeaturesDecodeErrorZ(LDKCResult_ChannelFeaturesDecodeErrorZ&& m_self) : self(m_self) { memset(&m_self, 0, sizeof(LDKCResult_ChannelFeaturesDecodeErrorZ)); }
2001         operator LDKCResult_ChannelFeaturesDecodeErrorZ() && { LDKCResult_ChannelFeaturesDecodeErrorZ res = self; memset(&self, 0, sizeof(LDKCResult_ChannelFeaturesDecodeErrorZ)); return res; }
2002         ~CResult_ChannelFeaturesDecodeErrorZ() { CResult_ChannelFeaturesDecodeErrorZ_free(self); }
2003         CResult_ChannelFeaturesDecodeErrorZ& operator=(CResult_ChannelFeaturesDecodeErrorZ&& o) { CResult_ChannelFeaturesDecodeErrorZ_free(self); self = o.self; memset(&o, 0, sizeof(CResult_ChannelFeaturesDecodeErrorZ)); return *this; }
2004         LDKCResult_ChannelFeaturesDecodeErrorZ* operator &() { return &self; }
2005         LDKCResult_ChannelFeaturesDecodeErrorZ* operator ->() { return &self; }
2006         const LDKCResult_ChannelFeaturesDecodeErrorZ* operator &() const { return &self; }
2007         const LDKCResult_ChannelFeaturesDecodeErrorZ* operator ->() const { return &self; }
2008 };
2009 class C2Tuple_usizeTransactionZ {
2010 private:
2011         LDKC2Tuple_usizeTransactionZ self;
2012 public:
2013         C2Tuple_usizeTransactionZ(const C2Tuple_usizeTransactionZ&) = delete;
2014         C2Tuple_usizeTransactionZ(C2Tuple_usizeTransactionZ&& o) : self(o.self) { memset(&o, 0, sizeof(C2Tuple_usizeTransactionZ)); }
2015         C2Tuple_usizeTransactionZ(LDKC2Tuple_usizeTransactionZ&& m_self) : self(m_self) { memset(&m_self, 0, sizeof(LDKC2Tuple_usizeTransactionZ)); }
2016         operator LDKC2Tuple_usizeTransactionZ() && { LDKC2Tuple_usizeTransactionZ res = self; memset(&self, 0, sizeof(LDKC2Tuple_usizeTransactionZ)); return res; }
2017         ~C2Tuple_usizeTransactionZ() { C2Tuple_usizeTransactionZ_free(self); }
2018         C2Tuple_usizeTransactionZ& operator=(C2Tuple_usizeTransactionZ&& o) { C2Tuple_usizeTransactionZ_free(self); self = o.self; memset(&o, 0, sizeof(C2Tuple_usizeTransactionZ)); return *this; }
2019         LDKC2Tuple_usizeTransactionZ* operator &() { return &self; }
2020         LDKC2Tuple_usizeTransactionZ* operator ->() { return &self; }
2021         const LDKC2Tuple_usizeTransactionZ* operator &() const { return &self; }
2022         const LDKC2Tuple_usizeTransactionZ* operator ->() const { return &self; }
2023 };
2024 class CVec_ChannelMonitorZ {
2025 private:
2026         LDKCVec_ChannelMonitorZ self;
2027 public:
2028         CVec_ChannelMonitorZ(const CVec_ChannelMonitorZ&) = delete;
2029         CVec_ChannelMonitorZ(CVec_ChannelMonitorZ&& o) : self(o.self) { memset(&o, 0, sizeof(CVec_ChannelMonitorZ)); }
2030         CVec_ChannelMonitorZ(LDKCVec_ChannelMonitorZ&& m_self) : self(m_self) { memset(&m_self, 0, sizeof(LDKCVec_ChannelMonitorZ)); }
2031         operator LDKCVec_ChannelMonitorZ() && { LDKCVec_ChannelMonitorZ res = self; memset(&self, 0, sizeof(LDKCVec_ChannelMonitorZ)); return res; }
2032         ~CVec_ChannelMonitorZ() { CVec_ChannelMonitorZ_free(self); }
2033         CVec_ChannelMonitorZ& operator=(CVec_ChannelMonitorZ&& o) { CVec_ChannelMonitorZ_free(self); self = o.self; memset(&o, 0, sizeof(CVec_ChannelMonitorZ)); return *this; }
2034         LDKCVec_ChannelMonitorZ* operator &() { return &self; }
2035         LDKCVec_ChannelMonitorZ* operator ->() { return &self; }
2036         const LDKCVec_ChannelMonitorZ* operator &() const { return &self; }
2037         const LDKCVec_ChannelMonitorZ* operator ->() const { return &self; }
2038 };
2039 class CResult_UpdateFeeDecodeErrorZ {
2040 private:
2041         LDKCResult_UpdateFeeDecodeErrorZ self;
2042 public:
2043         CResult_UpdateFeeDecodeErrorZ(const CResult_UpdateFeeDecodeErrorZ&) = delete;
2044         CResult_UpdateFeeDecodeErrorZ(CResult_UpdateFeeDecodeErrorZ&& o) : self(o.self) { memset(&o, 0, sizeof(CResult_UpdateFeeDecodeErrorZ)); }
2045         CResult_UpdateFeeDecodeErrorZ(LDKCResult_UpdateFeeDecodeErrorZ&& m_self) : self(m_self) { memset(&m_self, 0, sizeof(LDKCResult_UpdateFeeDecodeErrorZ)); }
2046         operator LDKCResult_UpdateFeeDecodeErrorZ() && { LDKCResult_UpdateFeeDecodeErrorZ res = self; memset(&self, 0, sizeof(LDKCResult_UpdateFeeDecodeErrorZ)); return res; }
2047         ~CResult_UpdateFeeDecodeErrorZ() { CResult_UpdateFeeDecodeErrorZ_free(self); }
2048         CResult_UpdateFeeDecodeErrorZ& operator=(CResult_UpdateFeeDecodeErrorZ&& o) { CResult_UpdateFeeDecodeErrorZ_free(self); self = o.self; memset(&o, 0, sizeof(CResult_UpdateFeeDecodeErrorZ)); return *this; }
2049         LDKCResult_UpdateFeeDecodeErrorZ* operator &() { return &self; }
2050         LDKCResult_UpdateFeeDecodeErrorZ* operator ->() { return &self; }
2051         const LDKCResult_UpdateFeeDecodeErrorZ* operator &() const { return &self; }
2052         const LDKCResult_UpdateFeeDecodeErrorZ* operator ->() const { return &self; }
2053 };
2054 class CResult_NodeAnnouncementDecodeErrorZ {
2055 private:
2056         LDKCResult_NodeAnnouncementDecodeErrorZ self;
2057 public:
2058         CResult_NodeAnnouncementDecodeErrorZ(const CResult_NodeAnnouncementDecodeErrorZ&) = delete;
2059         CResult_NodeAnnouncementDecodeErrorZ(CResult_NodeAnnouncementDecodeErrorZ&& o) : self(o.self) { memset(&o, 0, sizeof(CResult_NodeAnnouncementDecodeErrorZ)); }
2060         CResult_NodeAnnouncementDecodeErrorZ(LDKCResult_NodeAnnouncementDecodeErrorZ&& m_self) : self(m_self) { memset(&m_self, 0, sizeof(LDKCResult_NodeAnnouncementDecodeErrorZ)); }
2061         operator LDKCResult_NodeAnnouncementDecodeErrorZ() && { LDKCResult_NodeAnnouncementDecodeErrorZ res = self; memset(&self, 0, sizeof(LDKCResult_NodeAnnouncementDecodeErrorZ)); return res; }
2062         ~CResult_NodeAnnouncementDecodeErrorZ() { CResult_NodeAnnouncementDecodeErrorZ_free(self); }
2063         CResult_NodeAnnouncementDecodeErrorZ& operator=(CResult_NodeAnnouncementDecodeErrorZ&& o) { CResult_NodeAnnouncementDecodeErrorZ_free(self); self = o.self; memset(&o, 0, sizeof(CResult_NodeAnnouncementDecodeErrorZ)); return *this; }
2064         LDKCResult_NodeAnnouncementDecodeErrorZ* operator &() { return &self; }
2065         LDKCResult_NodeAnnouncementDecodeErrorZ* operator ->() { return &self; }
2066         const LDKCResult_NodeAnnouncementDecodeErrorZ* operator &() const { return &self; }
2067         const LDKCResult_NodeAnnouncementDecodeErrorZ* operator ->() const { return &self; }
2068 };
2069 class CResult_HTLCOutputInCommitmentDecodeErrorZ {
2070 private:
2071         LDKCResult_HTLCOutputInCommitmentDecodeErrorZ self;
2072 public:
2073         CResult_HTLCOutputInCommitmentDecodeErrorZ(const CResult_HTLCOutputInCommitmentDecodeErrorZ&) = delete;
2074         CResult_HTLCOutputInCommitmentDecodeErrorZ(CResult_HTLCOutputInCommitmentDecodeErrorZ&& o) : self(o.self) { memset(&o, 0, sizeof(CResult_HTLCOutputInCommitmentDecodeErrorZ)); }
2075         CResult_HTLCOutputInCommitmentDecodeErrorZ(LDKCResult_HTLCOutputInCommitmentDecodeErrorZ&& m_self) : self(m_self) { memset(&m_self, 0, sizeof(LDKCResult_HTLCOutputInCommitmentDecodeErrorZ)); }
2076         operator LDKCResult_HTLCOutputInCommitmentDecodeErrorZ() && { LDKCResult_HTLCOutputInCommitmentDecodeErrorZ res = self; memset(&self, 0, sizeof(LDKCResult_HTLCOutputInCommitmentDecodeErrorZ)); return res; }
2077         ~CResult_HTLCOutputInCommitmentDecodeErrorZ() { CResult_HTLCOutputInCommitmentDecodeErrorZ_free(self); }
2078         CResult_HTLCOutputInCommitmentDecodeErrorZ& operator=(CResult_HTLCOutputInCommitmentDecodeErrorZ&& o) { CResult_HTLCOutputInCommitmentDecodeErrorZ_free(self); self = o.self; memset(&o, 0, sizeof(CResult_HTLCOutputInCommitmentDecodeErrorZ)); return *this; }
2079         LDKCResult_HTLCOutputInCommitmentDecodeErrorZ* operator &() { return &self; }
2080         LDKCResult_HTLCOutputInCommitmentDecodeErrorZ* operator ->() { return &self; }
2081         const LDKCResult_HTLCOutputInCommitmentDecodeErrorZ* operator &() const { return &self; }
2082         const LDKCResult_HTLCOutputInCommitmentDecodeErrorZ* operator ->() const { return &self; }
2083 };
2084 class CResult_boolLightningErrorZ {
2085 private:
2086         LDKCResult_boolLightningErrorZ self;
2087 public:
2088         CResult_boolLightningErrorZ(const CResult_boolLightningErrorZ&) = delete;
2089         CResult_boolLightningErrorZ(CResult_boolLightningErrorZ&& o) : self(o.self) { memset(&o, 0, sizeof(CResult_boolLightningErrorZ)); }
2090         CResult_boolLightningErrorZ(LDKCResult_boolLightningErrorZ&& m_self) : self(m_self) { memset(&m_self, 0, sizeof(LDKCResult_boolLightningErrorZ)); }
2091         operator LDKCResult_boolLightningErrorZ() && { LDKCResult_boolLightningErrorZ res = self; memset(&self, 0, sizeof(LDKCResult_boolLightningErrorZ)); return res; }
2092         ~CResult_boolLightningErrorZ() { CResult_boolLightningErrorZ_free(self); }
2093         CResult_boolLightningErrorZ& operator=(CResult_boolLightningErrorZ&& o) { CResult_boolLightningErrorZ_free(self); self = o.self; memset(&o, 0, sizeof(CResult_boolLightningErrorZ)); return *this; }
2094         LDKCResult_boolLightningErrorZ* operator &() { return &self; }
2095         LDKCResult_boolLightningErrorZ* operator ->() { return &self; }
2096         const LDKCResult_boolLightningErrorZ* operator &() const { return &self; }
2097         const LDKCResult_boolLightningErrorZ* operator ->() const { return &self; }
2098 };
2099 class CResult_TxCreationKeysErrorZ {
2100 private:
2101         LDKCResult_TxCreationKeysErrorZ self;
2102 public:
2103         CResult_TxCreationKeysErrorZ(const CResult_TxCreationKeysErrorZ&) = delete;
2104         CResult_TxCreationKeysErrorZ(CResult_TxCreationKeysErrorZ&& o) : self(o.self) { memset(&o, 0, sizeof(CResult_TxCreationKeysErrorZ)); }
2105         CResult_TxCreationKeysErrorZ(LDKCResult_TxCreationKeysErrorZ&& m_self) : self(m_self) { memset(&m_self, 0, sizeof(LDKCResult_TxCreationKeysErrorZ)); }
2106         operator LDKCResult_TxCreationKeysErrorZ() && { LDKCResult_TxCreationKeysErrorZ res = self; memset(&self, 0, sizeof(LDKCResult_TxCreationKeysErrorZ)); return res; }
2107         ~CResult_TxCreationKeysErrorZ() { CResult_TxCreationKeysErrorZ_free(self); }
2108         CResult_TxCreationKeysErrorZ& operator=(CResult_TxCreationKeysErrorZ&& o) { CResult_TxCreationKeysErrorZ_free(self); self = o.self; memset(&o, 0, sizeof(CResult_TxCreationKeysErrorZ)); return *this; }
2109         LDKCResult_TxCreationKeysErrorZ* operator &() { return &self; }
2110         LDKCResult_TxCreationKeysErrorZ* operator ->() { return &self; }
2111         const LDKCResult_TxCreationKeysErrorZ* operator &() const { return &self; }
2112         const LDKCResult_TxCreationKeysErrorZ* operator ->() const { return &self; }
2113 };
2114 class C2Tuple_BlockHashChannelMonitorZ {
2115 private:
2116         LDKC2Tuple_BlockHashChannelMonitorZ self;
2117 public:
2118         C2Tuple_BlockHashChannelMonitorZ(const C2Tuple_BlockHashChannelMonitorZ&) = delete;
2119         C2Tuple_BlockHashChannelMonitorZ(C2Tuple_BlockHashChannelMonitorZ&& o) : self(o.self) { memset(&o, 0, sizeof(C2Tuple_BlockHashChannelMonitorZ)); }
2120         C2Tuple_BlockHashChannelMonitorZ(LDKC2Tuple_BlockHashChannelMonitorZ&& m_self) : self(m_self) { memset(&m_self, 0, sizeof(LDKC2Tuple_BlockHashChannelMonitorZ)); }
2121         operator LDKC2Tuple_BlockHashChannelMonitorZ() && { LDKC2Tuple_BlockHashChannelMonitorZ res = self; memset(&self, 0, sizeof(LDKC2Tuple_BlockHashChannelMonitorZ)); return res; }
2122         ~C2Tuple_BlockHashChannelMonitorZ() { C2Tuple_BlockHashChannelMonitorZ_free(self); }
2123         C2Tuple_BlockHashChannelMonitorZ& operator=(C2Tuple_BlockHashChannelMonitorZ&& o) { C2Tuple_BlockHashChannelMonitorZ_free(self); self = o.self; memset(&o, 0, sizeof(C2Tuple_BlockHashChannelMonitorZ)); return *this; }
2124         LDKC2Tuple_BlockHashChannelMonitorZ* operator &() { return &self; }
2125         LDKC2Tuple_BlockHashChannelMonitorZ* operator ->() { return &self; }
2126         const LDKC2Tuple_BlockHashChannelMonitorZ* operator &() const { return &self; }
2127         const LDKC2Tuple_BlockHashChannelMonitorZ* operator ->() const { return &self; }
2128 };
2129 class CResult_FundingSignedDecodeErrorZ {
2130 private:
2131         LDKCResult_FundingSignedDecodeErrorZ self;
2132 public:
2133         CResult_FundingSignedDecodeErrorZ(const CResult_FundingSignedDecodeErrorZ&) = delete;
2134         CResult_FundingSignedDecodeErrorZ(CResult_FundingSignedDecodeErrorZ&& o) : self(o.self) { memset(&o, 0, sizeof(CResult_FundingSignedDecodeErrorZ)); }
2135         CResult_FundingSignedDecodeErrorZ(LDKCResult_FundingSignedDecodeErrorZ&& m_self) : self(m_self) { memset(&m_self, 0, sizeof(LDKCResult_FundingSignedDecodeErrorZ)); }
2136         operator LDKCResult_FundingSignedDecodeErrorZ() && { LDKCResult_FundingSignedDecodeErrorZ res = self; memset(&self, 0, sizeof(LDKCResult_FundingSignedDecodeErrorZ)); return res; }
2137         ~CResult_FundingSignedDecodeErrorZ() { CResult_FundingSignedDecodeErrorZ_free(self); }
2138         CResult_FundingSignedDecodeErrorZ& operator=(CResult_FundingSignedDecodeErrorZ&& o) { CResult_FundingSignedDecodeErrorZ_free(self); self = o.self; memset(&o, 0, sizeof(CResult_FundingSignedDecodeErrorZ)); return *this; }
2139         LDKCResult_FundingSignedDecodeErrorZ* operator &() { return &self; }
2140         LDKCResult_FundingSignedDecodeErrorZ* operator ->() { return &self; }
2141         const LDKCResult_FundingSignedDecodeErrorZ* operator &() const { return &self; }
2142         const LDKCResult_FundingSignedDecodeErrorZ* operator ->() const { return &self; }
2143 };
2144 class CResult_NodeAnnouncementInfoDecodeErrorZ {
2145 private:
2146         LDKCResult_NodeAnnouncementInfoDecodeErrorZ self;
2147 public:
2148         CResult_NodeAnnouncementInfoDecodeErrorZ(const CResult_NodeAnnouncementInfoDecodeErrorZ&) = delete;
2149         CResult_NodeAnnouncementInfoDecodeErrorZ(CResult_NodeAnnouncementInfoDecodeErrorZ&& o) : self(o.self) { memset(&o, 0, sizeof(CResult_NodeAnnouncementInfoDecodeErrorZ)); }
2150         CResult_NodeAnnouncementInfoDecodeErrorZ(LDKCResult_NodeAnnouncementInfoDecodeErrorZ&& m_self) : self(m_self) { memset(&m_self, 0, sizeof(LDKCResult_NodeAnnouncementInfoDecodeErrorZ)); }
2151         operator LDKCResult_NodeAnnouncementInfoDecodeErrorZ() && { LDKCResult_NodeAnnouncementInfoDecodeErrorZ res = self; memset(&self, 0, sizeof(LDKCResult_NodeAnnouncementInfoDecodeErrorZ)); return res; }
2152         ~CResult_NodeAnnouncementInfoDecodeErrorZ() { CResult_NodeAnnouncementInfoDecodeErrorZ_free(self); }
2153         CResult_NodeAnnouncementInfoDecodeErrorZ& operator=(CResult_NodeAnnouncementInfoDecodeErrorZ&& o) { CResult_NodeAnnouncementInfoDecodeErrorZ_free(self); self = o.self; memset(&o, 0, sizeof(CResult_NodeAnnouncementInfoDecodeErrorZ)); return *this; }
2154         LDKCResult_NodeAnnouncementInfoDecodeErrorZ* operator &() { return &self; }
2155         LDKCResult_NodeAnnouncementInfoDecodeErrorZ* operator ->() { return &self; }
2156         const LDKCResult_NodeAnnouncementInfoDecodeErrorZ* operator &() const { return &self; }
2157         const LDKCResult_NodeAnnouncementInfoDecodeErrorZ* operator ->() const { return &self; }
2158 };
2159 class CResult_NetAddressu8Z {
2160 private:
2161         LDKCResult_NetAddressu8Z self;
2162 public:
2163         CResult_NetAddressu8Z(const CResult_NetAddressu8Z&) = delete;
2164         CResult_NetAddressu8Z(CResult_NetAddressu8Z&& o) : self(o.self) { memset(&o, 0, sizeof(CResult_NetAddressu8Z)); }
2165         CResult_NetAddressu8Z(LDKCResult_NetAddressu8Z&& m_self) : self(m_self) { memset(&m_self, 0, sizeof(LDKCResult_NetAddressu8Z)); }
2166         operator LDKCResult_NetAddressu8Z() && { LDKCResult_NetAddressu8Z res = self; memset(&self, 0, sizeof(LDKCResult_NetAddressu8Z)); return res; }
2167         ~CResult_NetAddressu8Z() { CResult_NetAddressu8Z_free(self); }
2168         CResult_NetAddressu8Z& operator=(CResult_NetAddressu8Z&& o) { CResult_NetAddressu8Z_free(self); self = o.self; memset(&o, 0, sizeof(CResult_NetAddressu8Z)); return *this; }
2169         LDKCResult_NetAddressu8Z* operator &() { return &self; }
2170         LDKCResult_NetAddressu8Z* operator ->() { return &self; }
2171         const LDKCResult_NetAddressu8Z* operator &() const { return &self; }
2172         const LDKCResult_NetAddressu8Z* operator ->() const { return &self; }
2173 };
2174 class CVec_UpdateFailMalformedHTLCZ {
2175 private:
2176         LDKCVec_UpdateFailMalformedHTLCZ self;
2177 public:
2178         CVec_UpdateFailMalformedHTLCZ(const CVec_UpdateFailMalformedHTLCZ&) = delete;
2179         CVec_UpdateFailMalformedHTLCZ(CVec_UpdateFailMalformedHTLCZ&& o) : self(o.self) { memset(&o, 0, sizeof(CVec_UpdateFailMalformedHTLCZ)); }
2180         CVec_UpdateFailMalformedHTLCZ(LDKCVec_UpdateFailMalformedHTLCZ&& m_self) : self(m_self) { memset(&m_self, 0, sizeof(LDKCVec_UpdateFailMalformedHTLCZ)); }
2181         operator LDKCVec_UpdateFailMalformedHTLCZ() && { LDKCVec_UpdateFailMalformedHTLCZ res = self; memset(&self, 0, sizeof(LDKCVec_UpdateFailMalformedHTLCZ)); return res; }
2182         ~CVec_UpdateFailMalformedHTLCZ() { CVec_UpdateFailMalformedHTLCZ_free(self); }
2183         CVec_UpdateFailMalformedHTLCZ& operator=(CVec_UpdateFailMalformedHTLCZ&& o) { CVec_UpdateFailMalformedHTLCZ_free(self); self = o.self; memset(&o, 0, sizeof(CVec_UpdateFailMalformedHTLCZ)); return *this; }
2184         LDKCVec_UpdateFailMalformedHTLCZ* operator &() { return &self; }
2185         LDKCVec_UpdateFailMalformedHTLCZ* operator ->() { return &self; }
2186         const LDKCVec_UpdateFailMalformedHTLCZ* operator &() const { return &self; }
2187         const LDKCVec_UpdateFailMalformedHTLCZ* operator ->() const { return &self; }
2188 };
2189 class CResult_NetworkGraphDecodeErrorZ {
2190 private:
2191         LDKCResult_NetworkGraphDecodeErrorZ self;
2192 public:
2193         CResult_NetworkGraphDecodeErrorZ(const CResult_NetworkGraphDecodeErrorZ&) = delete;
2194         CResult_NetworkGraphDecodeErrorZ(CResult_NetworkGraphDecodeErrorZ&& o) : self(o.self) { memset(&o, 0, sizeof(CResult_NetworkGraphDecodeErrorZ)); }
2195         CResult_NetworkGraphDecodeErrorZ(LDKCResult_NetworkGraphDecodeErrorZ&& m_self) : self(m_self) { memset(&m_self, 0, sizeof(LDKCResult_NetworkGraphDecodeErrorZ)); }
2196         operator LDKCResult_NetworkGraphDecodeErrorZ() && { LDKCResult_NetworkGraphDecodeErrorZ res = self; memset(&self, 0, sizeof(LDKCResult_NetworkGraphDecodeErrorZ)); return res; }
2197         ~CResult_NetworkGraphDecodeErrorZ() { CResult_NetworkGraphDecodeErrorZ_free(self); }
2198         CResult_NetworkGraphDecodeErrorZ& operator=(CResult_NetworkGraphDecodeErrorZ&& o) { CResult_NetworkGraphDecodeErrorZ_free(self); self = o.self; memset(&o, 0, sizeof(CResult_NetworkGraphDecodeErrorZ)); return *this; }
2199         LDKCResult_NetworkGraphDecodeErrorZ* operator &() { return &self; }
2200         LDKCResult_NetworkGraphDecodeErrorZ* operator ->() { return &self; }
2201         const LDKCResult_NetworkGraphDecodeErrorZ* operator &() const { return &self; }
2202         const LDKCResult_NetworkGraphDecodeErrorZ* operator ->() const { return &self; }
2203 };
2204 class CVec_RouteHopZ {
2205 private:
2206         LDKCVec_RouteHopZ self;
2207 public:
2208         CVec_RouteHopZ(const CVec_RouteHopZ&) = delete;
2209         CVec_RouteHopZ(CVec_RouteHopZ&& o) : self(o.self) { memset(&o, 0, sizeof(CVec_RouteHopZ)); }
2210         CVec_RouteHopZ(LDKCVec_RouteHopZ&& m_self) : self(m_self) { memset(&m_self, 0, sizeof(LDKCVec_RouteHopZ)); }
2211         operator LDKCVec_RouteHopZ() && { LDKCVec_RouteHopZ res = self; memset(&self, 0, sizeof(LDKCVec_RouteHopZ)); return res; }
2212         ~CVec_RouteHopZ() { CVec_RouteHopZ_free(self); }
2213         CVec_RouteHopZ& operator=(CVec_RouteHopZ&& o) { CVec_RouteHopZ_free(self); self = o.self; memset(&o, 0, sizeof(CVec_RouteHopZ)); return *this; }
2214         LDKCVec_RouteHopZ* operator &() { return &self; }
2215         LDKCVec_RouteHopZ* operator ->() { return &self; }
2216         const LDKCVec_RouteHopZ* operator &() const { return &self; }
2217         const LDKCVec_RouteHopZ* operator ->() const { return &self; }
2218 };
2219 class CResult_NodeInfoDecodeErrorZ {
2220 private:
2221         LDKCResult_NodeInfoDecodeErrorZ self;
2222 public:
2223         CResult_NodeInfoDecodeErrorZ(const CResult_NodeInfoDecodeErrorZ&) = delete;
2224         CResult_NodeInfoDecodeErrorZ(CResult_NodeInfoDecodeErrorZ&& o) : self(o.self) { memset(&o, 0, sizeof(CResult_NodeInfoDecodeErrorZ)); }
2225         CResult_NodeInfoDecodeErrorZ(LDKCResult_NodeInfoDecodeErrorZ&& m_self) : self(m_self) { memset(&m_self, 0, sizeof(LDKCResult_NodeInfoDecodeErrorZ)); }
2226         operator LDKCResult_NodeInfoDecodeErrorZ() && { LDKCResult_NodeInfoDecodeErrorZ res = self; memset(&self, 0, sizeof(LDKCResult_NodeInfoDecodeErrorZ)); return res; }
2227         ~CResult_NodeInfoDecodeErrorZ() { CResult_NodeInfoDecodeErrorZ_free(self); }
2228         CResult_NodeInfoDecodeErrorZ& operator=(CResult_NodeInfoDecodeErrorZ&& o) { CResult_NodeInfoDecodeErrorZ_free(self); self = o.self; memset(&o, 0, sizeof(CResult_NodeInfoDecodeErrorZ)); return *this; }
2229         LDKCResult_NodeInfoDecodeErrorZ* operator &() { return &self; }
2230         LDKCResult_NodeInfoDecodeErrorZ* operator ->() { return &self; }
2231         const LDKCResult_NodeInfoDecodeErrorZ* operator &() const { return &self; }
2232         const LDKCResult_NodeInfoDecodeErrorZ* operator ->() const { return &self; }
2233 };
2234 class CResult_NonePaymentSendFailureZ {
2235 private:
2236         LDKCResult_NonePaymentSendFailureZ self;
2237 public:
2238         CResult_NonePaymentSendFailureZ(const CResult_NonePaymentSendFailureZ&) = delete;
2239         CResult_NonePaymentSendFailureZ(CResult_NonePaymentSendFailureZ&& o) : self(o.self) { memset(&o, 0, sizeof(CResult_NonePaymentSendFailureZ)); }
2240         CResult_NonePaymentSendFailureZ(LDKCResult_NonePaymentSendFailureZ&& m_self) : self(m_self) { memset(&m_self, 0, sizeof(LDKCResult_NonePaymentSendFailureZ)); }
2241         operator LDKCResult_NonePaymentSendFailureZ() && { LDKCResult_NonePaymentSendFailureZ res = self; memset(&self, 0, sizeof(LDKCResult_NonePaymentSendFailureZ)); return res; }
2242         ~CResult_NonePaymentSendFailureZ() { CResult_NonePaymentSendFailureZ_free(self); }
2243         CResult_NonePaymentSendFailureZ& operator=(CResult_NonePaymentSendFailureZ&& o) { CResult_NonePaymentSendFailureZ_free(self); self = o.self; memset(&o, 0, sizeof(CResult_NonePaymentSendFailureZ)); return *this; }
2244         LDKCResult_NonePaymentSendFailureZ* operator &() { return &self; }
2245         LDKCResult_NonePaymentSendFailureZ* operator ->() { return &self; }
2246         const LDKCResult_NonePaymentSendFailureZ* operator &() const { return &self; }
2247         const LDKCResult_NonePaymentSendFailureZ* operator ->() const { return &self; }
2248 };
2249 class CVec_u8Z {
2250 private:
2251         LDKCVec_u8Z self;
2252 public:
2253         CVec_u8Z(const CVec_u8Z&) = delete;
2254         CVec_u8Z(CVec_u8Z&& o) : self(o.self) { memset(&o, 0, sizeof(CVec_u8Z)); }
2255         CVec_u8Z(LDKCVec_u8Z&& m_self) : self(m_self) { memset(&m_self, 0, sizeof(LDKCVec_u8Z)); }
2256         operator LDKCVec_u8Z() && { LDKCVec_u8Z res = self; memset(&self, 0, sizeof(LDKCVec_u8Z)); return res; }
2257         ~CVec_u8Z() { CVec_u8Z_free(self); }
2258         CVec_u8Z& operator=(CVec_u8Z&& o) { CVec_u8Z_free(self); self = o.self; memset(&o, 0, sizeof(CVec_u8Z)); return *this; }
2259         LDKCVec_u8Z* operator &() { return &self; }
2260         LDKCVec_u8Z* operator ->() { return &self; }
2261         const LDKCVec_u8Z* operator &() const { return &self; }
2262         const LDKCVec_u8Z* operator ->() const { return &self; }
2263 };
2264 class CResult_ChannelPublicKeysDecodeErrorZ {
2265 private:
2266         LDKCResult_ChannelPublicKeysDecodeErrorZ self;
2267 public:
2268         CResult_ChannelPublicKeysDecodeErrorZ(const CResult_ChannelPublicKeysDecodeErrorZ&) = delete;
2269         CResult_ChannelPublicKeysDecodeErrorZ(CResult_ChannelPublicKeysDecodeErrorZ&& o) : self(o.self) { memset(&o, 0, sizeof(CResult_ChannelPublicKeysDecodeErrorZ)); }
2270         CResult_ChannelPublicKeysDecodeErrorZ(LDKCResult_ChannelPublicKeysDecodeErrorZ&& m_self) : self(m_self) { memset(&m_self, 0, sizeof(LDKCResult_ChannelPublicKeysDecodeErrorZ)); }
2271         operator LDKCResult_ChannelPublicKeysDecodeErrorZ() && { LDKCResult_ChannelPublicKeysDecodeErrorZ res = self; memset(&self, 0, sizeof(LDKCResult_ChannelPublicKeysDecodeErrorZ)); return res; }
2272         ~CResult_ChannelPublicKeysDecodeErrorZ() { CResult_ChannelPublicKeysDecodeErrorZ_free(self); }
2273         CResult_ChannelPublicKeysDecodeErrorZ& operator=(CResult_ChannelPublicKeysDecodeErrorZ&& o) { CResult_ChannelPublicKeysDecodeErrorZ_free(self); self = o.self; memset(&o, 0, sizeof(CResult_ChannelPublicKeysDecodeErrorZ)); return *this; }
2274         LDKCResult_ChannelPublicKeysDecodeErrorZ* operator &() { return &self; }
2275         LDKCResult_ChannelPublicKeysDecodeErrorZ* operator ->() { return &self; }
2276         const LDKCResult_ChannelPublicKeysDecodeErrorZ* operator &() const { return &self; }
2277         const LDKCResult_ChannelPublicKeysDecodeErrorZ* operator ->() const { return &self; }
2278 };
2279 class CResult_RouteLightningErrorZ {
2280 private:
2281         LDKCResult_RouteLightningErrorZ self;
2282 public:
2283         CResult_RouteLightningErrorZ(const CResult_RouteLightningErrorZ&) = delete;
2284         CResult_RouteLightningErrorZ(CResult_RouteLightningErrorZ&& o) : self(o.self) { memset(&o, 0, sizeof(CResult_RouteLightningErrorZ)); }
2285         CResult_RouteLightningErrorZ(LDKCResult_RouteLightningErrorZ&& m_self) : self(m_self) { memset(&m_self, 0, sizeof(LDKCResult_RouteLightningErrorZ)); }
2286         operator LDKCResult_RouteLightningErrorZ() && { LDKCResult_RouteLightningErrorZ res = self; memset(&self, 0, sizeof(LDKCResult_RouteLightningErrorZ)); return res; }
2287         ~CResult_RouteLightningErrorZ() { CResult_RouteLightningErrorZ_free(self); }
2288         CResult_RouteLightningErrorZ& operator=(CResult_RouteLightningErrorZ&& o) { CResult_RouteLightningErrorZ_free(self); self = o.self; memset(&o, 0, sizeof(CResult_RouteLightningErrorZ)); return *this; }
2289         LDKCResult_RouteLightningErrorZ* operator &() { return &self; }
2290         LDKCResult_RouteLightningErrorZ* operator ->() { return &self; }
2291         const LDKCResult_RouteLightningErrorZ* operator &() const { return &self; }
2292         const LDKCResult_RouteLightningErrorZ* operator ->() const { return &self; }
2293 };
2294 class CResult_ClosingSignedDecodeErrorZ {
2295 private:
2296         LDKCResult_ClosingSignedDecodeErrorZ self;
2297 public:
2298         CResult_ClosingSignedDecodeErrorZ(const CResult_ClosingSignedDecodeErrorZ&) = delete;
2299         CResult_ClosingSignedDecodeErrorZ(CResult_ClosingSignedDecodeErrorZ&& o) : self(o.self) { memset(&o, 0, sizeof(CResult_ClosingSignedDecodeErrorZ)); }
2300         CResult_ClosingSignedDecodeErrorZ(LDKCResult_ClosingSignedDecodeErrorZ&& m_self) : self(m_self) { memset(&m_self, 0, sizeof(LDKCResult_ClosingSignedDecodeErrorZ)); }
2301         operator LDKCResult_ClosingSignedDecodeErrorZ() && { LDKCResult_ClosingSignedDecodeErrorZ res = self; memset(&self, 0, sizeof(LDKCResult_ClosingSignedDecodeErrorZ)); return res; }
2302         ~CResult_ClosingSignedDecodeErrorZ() { CResult_ClosingSignedDecodeErrorZ_free(self); }
2303         CResult_ClosingSignedDecodeErrorZ& operator=(CResult_ClosingSignedDecodeErrorZ&& o) { CResult_ClosingSignedDecodeErrorZ_free(self); self = o.self; memset(&o, 0, sizeof(CResult_ClosingSignedDecodeErrorZ)); return *this; }
2304         LDKCResult_ClosingSignedDecodeErrorZ* operator &() { return &self; }
2305         LDKCResult_ClosingSignedDecodeErrorZ* operator ->() { return &self; }
2306         const LDKCResult_ClosingSignedDecodeErrorZ* operator &() const { return &self; }
2307         const LDKCResult_ClosingSignedDecodeErrorZ* operator ->() const { return &self; }
2308 };
2309 class CResult_HolderCommitmentTransactionDecodeErrorZ {
2310 private:
2311         LDKCResult_HolderCommitmentTransactionDecodeErrorZ self;
2312 public:
2313         CResult_HolderCommitmentTransactionDecodeErrorZ(const CResult_HolderCommitmentTransactionDecodeErrorZ&) = delete;
2314         CResult_HolderCommitmentTransactionDecodeErrorZ(CResult_HolderCommitmentTransactionDecodeErrorZ&& o) : self(o.self) { memset(&o, 0, sizeof(CResult_HolderCommitmentTransactionDecodeErrorZ)); }
2315         CResult_HolderCommitmentTransactionDecodeErrorZ(LDKCResult_HolderCommitmentTransactionDecodeErrorZ&& m_self) : self(m_self) { memset(&m_self, 0, sizeof(LDKCResult_HolderCommitmentTransactionDecodeErrorZ)); }
2316         operator LDKCResult_HolderCommitmentTransactionDecodeErrorZ() && { LDKCResult_HolderCommitmentTransactionDecodeErrorZ res = self; memset(&self, 0, sizeof(LDKCResult_HolderCommitmentTransactionDecodeErrorZ)); return res; }
2317         ~CResult_HolderCommitmentTransactionDecodeErrorZ() { CResult_HolderCommitmentTransactionDecodeErrorZ_free(self); }
2318         CResult_HolderCommitmentTransactionDecodeErrorZ& operator=(CResult_HolderCommitmentTransactionDecodeErrorZ&& o) { CResult_HolderCommitmentTransactionDecodeErrorZ_free(self); self = o.self; memset(&o, 0, sizeof(CResult_HolderCommitmentTransactionDecodeErrorZ)); return *this; }
2319         LDKCResult_HolderCommitmentTransactionDecodeErrorZ* operator &() { return &self; }
2320         LDKCResult_HolderCommitmentTransactionDecodeErrorZ* operator ->() { return &self; }
2321         const LDKCResult_HolderCommitmentTransactionDecodeErrorZ* operator &() const { return &self; }
2322         const LDKCResult_HolderCommitmentTransactionDecodeErrorZ* operator ->() const { return &self; }
2323 };
2324 class CVec_CResult_NoneAPIErrorZZ {
2325 private:
2326         LDKCVec_CResult_NoneAPIErrorZZ self;
2327 public:
2328         CVec_CResult_NoneAPIErrorZZ(const CVec_CResult_NoneAPIErrorZZ&) = delete;
2329         CVec_CResult_NoneAPIErrorZZ(CVec_CResult_NoneAPIErrorZZ&& o) : self(o.self) { memset(&o, 0, sizeof(CVec_CResult_NoneAPIErrorZZ)); }
2330         CVec_CResult_NoneAPIErrorZZ(LDKCVec_CResult_NoneAPIErrorZZ&& m_self) : self(m_self) { memset(&m_self, 0, sizeof(LDKCVec_CResult_NoneAPIErrorZZ)); }
2331         operator LDKCVec_CResult_NoneAPIErrorZZ() && { LDKCVec_CResult_NoneAPIErrorZZ res = self; memset(&self, 0, sizeof(LDKCVec_CResult_NoneAPIErrorZZ)); return res; }
2332         ~CVec_CResult_NoneAPIErrorZZ() { CVec_CResult_NoneAPIErrorZZ_free(self); }
2333         CVec_CResult_NoneAPIErrorZZ& operator=(CVec_CResult_NoneAPIErrorZZ&& o) { CVec_CResult_NoneAPIErrorZZ_free(self); self = o.self; memset(&o, 0, sizeof(CVec_CResult_NoneAPIErrorZZ)); return *this; }
2334         LDKCVec_CResult_NoneAPIErrorZZ* operator &() { return &self; }
2335         LDKCVec_CResult_NoneAPIErrorZZ* operator ->() { return &self; }
2336         const LDKCVec_CResult_NoneAPIErrorZZ* operator &() const { return &self; }
2337         const LDKCVec_CResult_NoneAPIErrorZZ* operator ->() const { return &self; }
2338 };
2339 class CResult_SignatureNoneZ {
2340 private:
2341         LDKCResult_SignatureNoneZ self;
2342 public:
2343         CResult_SignatureNoneZ(const CResult_SignatureNoneZ&) = delete;
2344         CResult_SignatureNoneZ(CResult_SignatureNoneZ&& o) : self(o.self) { memset(&o, 0, sizeof(CResult_SignatureNoneZ)); }
2345         CResult_SignatureNoneZ(LDKCResult_SignatureNoneZ&& m_self) : self(m_self) { memset(&m_self, 0, sizeof(LDKCResult_SignatureNoneZ)); }
2346         operator LDKCResult_SignatureNoneZ() && { LDKCResult_SignatureNoneZ res = self; memset(&self, 0, sizeof(LDKCResult_SignatureNoneZ)); return res; }
2347         ~CResult_SignatureNoneZ() { CResult_SignatureNoneZ_free(self); }
2348         CResult_SignatureNoneZ& operator=(CResult_SignatureNoneZ&& o) { CResult_SignatureNoneZ_free(self); self = o.self; memset(&o, 0, sizeof(CResult_SignatureNoneZ)); return *this; }
2349         LDKCResult_SignatureNoneZ* operator &() { return &self; }
2350         LDKCResult_SignatureNoneZ* operator ->() { return &self; }
2351         const LDKCResult_SignatureNoneZ* operator &() const { return &self; }
2352         const LDKCResult_SignatureNoneZ* operator ->() const { return &self; }
2353 };
2354 class C2Tuple_TxidCVec_C2Tuple_u32TxOutZZZ {
2355 private:
2356         LDKC2Tuple_TxidCVec_C2Tuple_u32TxOutZZZ self;
2357 public:
2358         C2Tuple_TxidCVec_C2Tuple_u32TxOutZZZ(const C2Tuple_TxidCVec_C2Tuple_u32TxOutZZZ&) = delete;
2359         C2Tuple_TxidCVec_C2Tuple_u32TxOutZZZ(C2Tuple_TxidCVec_C2Tuple_u32TxOutZZZ&& o) : self(o.self) { memset(&o, 0, sizeof(C2Tuple_TxidCVec_C2Tuple_u32TxOutZZZ)); }
2360         C2Tuple_TxidCVec_C2Tuple_u32TxOutZZZ(LDKC2Tuple_TxidCVec_C2Tuple_u32TxOutZZZ&& m_self) : self(m_self) { memset(&m_self, 0, sizeof(LDKC2Tuple_TxidCVec_C2Tuple_u32TxOutZZZ)); }
2361         operator LDKC2Tuple_TxidCVec_C2Tuple_u32TxOutZZZ() && { LDKC2Tuple_TxidCVec_C2Tuple_u32TxOutZZZ res = self; memset(&self, 0, sizeof(LDKC2Tuple_TxidCVec_C2Tuple_u32TxOutZZZ)); return res; }
2362         ~C2Tuple_TxidCVec_C2Tuple_u32TxOutZZZ() { C2Tuple_TxidCVec_C2Tuple_u32TxOutZZZ_free(self); }
2363         C2Tuple_TxidCVec_C2Tuple_u32TxOutZZZ& operator=(C2Tuple_TxidCVec_C2Tuple_u32TxOutZZZ&& o) { C2Tuple_TxidCVec_C2Tuple_u32TxOutZZZ_free(self); self = o.self; memset(&o, 0, sizeof(C2Tuple_TxidCVec_C2Tuple_u32TxOutZZZ)); return *this; }
2364         LDKC2Tuple_TxidCVec_C2Tuple_u32TxOutZZZ* operator &() { return &self; }
2365         LDKC2Tuple_TxidCVec_C2Tuple_u32TxOutZZZ* operator ->() { return &self; }
2366         const LDKC2Tuple_TxidCVec_C2Tuple_u32TxOutZZZ* operator &() const { return &self; }
2367         const LDKC2Tuple_TxidCVec_C2Tuple_u32TxOutZZZ* operator ->() const { return &self; }
2368 };
2369 class CResult_InitDecodeErrorZ {
2370 private:
2371         LDKCResult_InitDecodeErrorZ self;
2372 public:
2373         CResult_InitDecodeErrorZ(const CResult_InitDecodeErrorZ&) = delete;
2374         CResult_InitDecodeErrorZ(CResult_InitDecodeErrorZ&& o) : self(o.self) { memset(&o, 0, sizeof(CResult_InitDecodeErrorZ)); }
2375         CResult_InitDecodeErrorZ(LDKCResult_InitDecodeErrorZ&& m_self) : self(m_self) { memset(&m_self, 0, sizeof(LDKCResult_InitDecodeErrorZ)); }
2376         operator LDKCResult_InitDecodeErrorZ() && { LDKCResult_InitDecodeErrorZ res = self; memset(&self, 0, sizeof(LDKCResult_InitDecodeErrorZ)); return res; }
2377         ~CResult_InitDecodeErrorZ() { CResult_InitDecodeErrorZ_free(self); }
2378         CResult_InitDecodeErrorZ& operator=(CResult_InitDecodeErrorZ&& o) { CResult_InitDecodeErrorZ_free(self); self = o.self; memset(&o, 0, sizeof(CResult_InitDecodeErrorZ)); return *this; }
2379         LDKCResult_InitDecodeErrorZ* operator &() { return &self; }
2380         LDKCResult_InitDecodeErrorZ* operator ->() { return &self; }
2381         const LDKCResult_InitDecodeErrorZ* operator &() const { return &self; }
2382         const LDKCResult_InitDecodeErrorZ* operator ->() const { return &self; }
2383 };
2384 class CResult_OutPointDecodeErrorZ {
2385 private:
2386         LDKCResult_OutPointDecodeErrorZ self;
2387 public:
2388         CResult_OutPointDecodeErrorZ(const CResult_OutPointDecodeErrorZ&) = delete;
2389         CResult_OutPointDecodeErrorZ(CResult_OutPointDecodeErrorZ&& o) : self(o.self) { memset(&o, 0, sizeof(CResult_OutPointDecodeErrorZ)); }
2390         CResult_OutPointDecodeErrorZ(LDKCResult_OutPointDecodeErrorZ&& m_self) : self(m_self) { memset(&m_self, 0, sizeof(LDKCResult_OutPointDecodeErrorZ)); }
2391         operator LDKCResult_OutPointDecodeErrorZ() && { LDKCResult_OutPointDecodeErrorZ res = self; memset(&self, 0, sizeof(LDKCResult_OutPointDecodeErrorZ)); return res; }
2392         ~CResult_OutPointDecodeErrorZ() { CResult_OutPointDecodeErrorZ_free(self); }
2393         CResult_OutPointDecodeErrorZ& operator=(CResult_OutPointDecodeErrorZ&& o) { CResult_OutPointDecodeErrorZ_free(self); self = o.self; memset(&o, 0, sizeof(CResult_OutPointDecodeErrorZ)); return *this; }
2394         LDKCResult_OutPointDecodeErrorZ* operator &() { return &self; }
2395         LDKCResult_OutPointDecodeErrorZ* operator ->() { return &self; }
2396         const LDKCResult_OutPointDecodeErrorZ* operator &() const { return &self; }
2397         const LDKCResult_OutPointDecodeErrorZ* operator ->() const { return &self; }
2398 };
2399 class CVec_ChannelDetailsZ {
2400 private:
2401         LDKCVec_ChannelDetailsZ self;
2402 public:
2403         CVec_ChannelDetailsZ(const CVec_ChannelDetailsZ&) = delete;
2404         CVec_ChannelDetailsZ(CVec_ChannelDetailsZ&& o) : self(o.self) { memset(&o, 0, sizeof(CVec_ChannelDetailsZ)); }
2405         CVec_ChannelDetailsZ(LDKCVec_ChannelDetailsZ&& m_self) : self(m_self) { memset(&m_self, 0, sizeof(LDKCVec_ChannelDetailsZ)); }
2406         operator LDKCVec_ChannelDetailsZ() && { LDKCVec_ChannelDetailsZ res = self; memset(&self, 0, sizeof(LDKCVec_ChannelDetailsZ)); return res; }
2407         ~CVec_ChannelDetailsZ() { CVec_ChannelDetailsZ_free(self); }
2408         CVec_ChannelDetailsZ& operator=(CVec_ChannelDetailsZ&& o) { CVec_ChannelDetailsZ_free(self); self = o.self; memset(&o, 0, sizeof(CVec_ChannelDetailsZ)); return *this; }
2409         LDKCVec_ChannelDetailsZ* operator &() { return &self; }
2410         LDKCVec_ChannelDetailsZ* operator ->() { return &self; }
2411         const LDKCVec_ChannelDetailsZ* operator &() const { return &self; }
2412         const LDKCVec_ChannelDetailsZ* operator ->() const { return &self; }
2413 };
2414 class CResult_SignDecodeErrorZ {
2415 private:
2416         LDKCResult_SignDecodeErrorZ self;
2417 public:
2418         CResult_SignDecodeErrorZ(const CResult_SignDecodeErrorZ&) = delete;
2419         CResult_SignDecodeErrorZ(CResult_SignDecodeErrorZ&& o) : self(o.self) { memset(&o, 0, sizeof(CResult_SignDecodeErrorZ)); }
2420         CResult_SignDecodeErrorZ(LDKCResult_SignDecodeErrorZ&& m_self) : self(m_self) { memset(&m_self, 0, sizeof(LDKCResult_SignDecodeErrorZ)); }
2421         operator LDKCResult_SignDecodeErrorZ() && { LDKCResult_SignDecodeErrorZ res = self; memset(&self, 0, sizeof(LDKCResult_SignDecodeErrorZ)); return res; }
2422         ~CResult_SignDecodeErrorZ() { CResult_SignDecodeErrorZ_free(self); }
2423         CResult_SignDecodeErrorZ& operator=(CResult_SignDecodeErrorZ&& o) { CResult_SignDecodeErrorZ_free(self); self = o.self; memset(&o, 0, sizeof(CResult_SignDecodeErrorZ)); return *this; }
2424         LDKCResult_SignDecodeErrorZ* operator &() { return &self; }
2425         LDKCResult_SignDecodeErrorZ* operator ->() { return &self; }
2426         const LDKCResult_SignDecodeErrorZ* operator &() const { return &self; }
2427         const LDKCResult_SignDecodeErrorZ* operator ->() const { return &self; }
2428 };
2429 class CVec_MessageSendEventZ {
2430 private:
2431         LDKCVec_MessageSendEventZ self;
2432 public:
2433         CVec_MessageSendEventZ(const CVec_MessageSendEventZ&) = delete;
2434         CVec_MessageSendEventZ(CVec_MessageSendEventZ&& o) : self(o.self) { memset(&o, 0, sizeof(CVec_MessageSendEventZ)); }
2435         CVec_MessageSendEventZ(LDKCVec_MessageSendEventZ&& m_self) : self(m_self) { memset(&m_self, 0, sizeof(LDKCVec_MessageSendEventZ)); }
2436         operator LDKCVec_MessageSendEventZ() && { LDKCVec_MessageSendEventZ res = self; memset(&self, 0, sizeof(LDKCVec_MessageSendEventZ)); return res; }
2437         ~CVec_MessageSendEventZ() { CVec_MessageSendEventZ_free(self); }
2438         CVec_MessageSendEventZ& operator=(CVec_MessageSendEventZ&& o) { CVec_MessageSendEventZ_free(self); self = o.self; memset(&o, 0, sizeof(CVec_MessageSendEventZ)); return *this; }
2439         LDKCVec_MessageSendEventZ* operator &() { return &self; }
2440         LDKCVec_MessageSendEventZ* operator ->() { return &self; }
2441         const LDKCVec_MessageSendEventZ* operator &() const { return &self; }
2442         const LDKCVec_MessageSendEventZ* operator ->() const { return &self; }
2443 };
2444 class CVec_C2Tuple_TxidCVec_C2Tuple_u32TxOutZZZZ {
2445 private:
2446         LDKCVec_C2Tuple_TxidCVec_C2Tuple_u32TxOutZZZZ self;
2447 public:
2448         CVec_C2Tuple_TxidCVec_C2Tuple_u32TxOutZZZZ(const CVec_C2Tuple_TxidCVec_C2Tuple_u32TxOutZZZZ&) = delete;
2449         CVec_C2Tuple_TxidCVec_C2Tuple_u32TxOutZZZZ(CVec_C2Tuple_TxidCVec_C2Tuple_u32TxOutZZZZ&& o) : self(o.self) { memset(&o, 0, sizeof(CVec_C2Tuple_TxidCVec_C2Tuple_u32TxOutZZZZ)); }
2450         CVec_C2Tuple_TxidCVec_C2Tuple_u32TxOutZZZZ(LDKCVec_C2Tuple_TxidCVec_C2Tuple_u32TxOutZZZZ&& m_self) : self(m_self) { memset(&m_self, 0, sizeof(LDKCVec_C2Tuple_TxidCVec_C2Tuple_u32TxOutZZZZ)); }
2451         operator LDKCVec_C2Tuple_TxidCVec_C2Tuple_u32TxOutZZZZ() && { LDKCVec_C2Tuple_TxidCVec_C2Tuple_u32TxOutZZZZ res = self; memset(&self, 0, sizeof(LDKCVec_C2Tuple_TxidCVec_C2Tuple_u32TxOutZZZZ)); return res; }
2452         ~CVec_C2Tuple_TxidCVec_C2Tuple_u32TxOutZZZZ() { CVec_C2Tuple_TxidCVec_C2Tuple_u32TxOutZZZZ_free(self); }
2453         CVec_C2Tuple_TxidCVec_C2Tuple_u32TxOutZZZZ& operator=(CVec_C2Tuple_TxidCVec_C2Tuple_u32TxOutZZZZ&& o) { CVec_C2Tuple_TxidCVec_C2Tuple_u32TxOutZZZZ_free(self); self = o.self; memset(&o, 0, sizeof(CVec_C2Tuple_TxidCVec_C2Tuple_u32TxOutZZZZ)); return *this; }
2454         LDKCVec_C2Tuple_TxidCVec_C2Tuple_u32TxOutZZZZ* operator &() { return &self; }
2455         LDKCVec_C2Tuple_TxidCVec_C2Tuple_u32TxOutZZZZ* operator ->() { return &self; }
2456         const LDKCVec_C2Tuple_TxidCVec_C2Tuple_u32TxOutZZZZ* operator &() const { return &self; }
2457         const LDKCVec_C2Tuple_TxidCVec_C2Tuple_u32TxOutZZZZ* operator ->() const { return &self; }
2458 };
2459 class C2Tuple_OutPointScriptZ {
2460 private:
2461         LDKC2Tuple_OutPointScriptZ self;
2462 public:
2463         C2Tuple_OutPointScriptZ(const C2Tuple_OutPointScriptZ&) = delete;
2464         C2Tuple_OutPointScriptZ(C2Tuple_OutPointScriptZ&& o) : self(o.self) { memset(&o, 0, sizeof(C2Tuple_OutPointScriptZ)); }
2465         C2Tuple_OutPointScriptZ(LDKC2Tuple_OutPointScriptZ&& m_self) : self(m_self) { memset(&m_self, 0, sizeof(LDKC2Tuple_OutPointScriptZ)); }
2466         operator LDKC2Tuple_OutPointScriptZ() && { LDKC2Tuple_OutPointScriptZ res = self; memset(&self, 0, sizeof(LDKC2Tuple_OutPointScriptZ)); return res; }
2467         ~C2Tuple_OutPointScriptZ() { C2Tuple_OutPointScriptZ_free(self); }
2468         C2Tuple_OutPointScriptZ& operator=(C2Tuple_OutPointScriptZ&& o) { C2Tuple_OutPointScriptZ_free(self); self = o.self; memset(&o, 0, sizeof(C2Tuple_OutPointScriptZ)); return *this; }
2469         LDKC2Tuple_OutPointScriptZ* operator &() { return &self; }
2470         LDKC2Tuple_OutPointScriptZ* operator ->() { return &self; }
2471         const LDKC2Tuple_OutPointScriptZ* operator &() const { return &self; }
2472         const LDKC2Tuple_OutPointScriptZ* operator ->() const { return &self; }
2473 };
2474 class CResult_UpdateFailMalformedHTLCDecodeErrorZ {
2475 private:
2476         LDKCResult_UpdateFailMalformedHTLCDecodeErrorZ self;
2477 public:
2478         CResult_UpdateFailMalformedHTLCDecodeErrorZ(const CResult_UpdateFailMalformedHTLCDecodeErrorZ&) = delete;
2479         CResult_UpdateFailMalformedHTLCDecodeErrorZ(CResult_UpdateFailMalformedHTLCDecodeErrorZ&& o) : self(o.self) { memset(&o, 0, sizeof(CResult_UpdateFailMalformedHTLCDecodeErrorZ)); }
2480         CResult_UpdateFailMalformedHTLCDecodeErrorZ(LDKCResult_UpdateFailMalformedHTLCDecodeErrorZ&& m_self) : self(m_self) { memset(&m_self, 0, sizeof(LDKCResult_UpdateFailMalformedHTLCDecodeErrorZ)); }
2481         operator LDKCResult_UpdateFailMalformedHTLCDecodeErrorZ() && { LDKCResult_UpdateFailMalformedHTLCDecodeErrorZ res = self; memset(&self, 0, sizeof(LDKCResult_UpdateFailMalformedHTLCDecodeErrorZ)); return res; }
2482         ~CResult_UpdateFailMalformedHTLCDecodeErrorZ() { CResult_UpdateFailMalformedHTLCDecodeErrorZ_free(self); }
2483         CResult_UpdateFailMalformedHTLCDecodeErrorZ& operator=(CResult_UpdateFailMalformedHTLCDecodeErrorZ&& o) { CResult_UpdateFailMalformedHTLCDecodeErrorZ_free(self); self = o.self; memset(&o, 0, sizeof(CResult_UpdateFailMalformedHTLCDecodeErrorZ)); return *this; }
2484         LDKCResult_UpdateFailMalformedHTLCDecodeErrorZ* operator &() { return &self; }
2485         LDKCResult_UpdateFailMalformedHTLCDecodeErrorZ* operator ->() { return &self; }
2486         const LDKCResult_UpdateFailMalformedHTLCDecodeErrorZ* operator &() const { return &self; }
2487         const LDKCResult_UpdateFailMalformedHTLCDecodeErrorZ* operator ->() const { return &self; }
2488 };
2489 class CVec_NodeAnnouncementZ {
2490 private:
2491         LDKCVec_NodeAnnouncementZ self;
2492 public:
2493         CVec_NodeAnnouncementZ(const CVec_NodeAnnouncementZ&) = delete;
2494         CVec_NodeAnnouncementZ(CVec_NodeAnnouncementZ&& o) : self(o.self) { memset(&o, 0, sizeof(CVec_NodeAnnouncementZ)); }
2495         CVec_NodeAnnouncementZ(LDKCVec_NodeAnnouncementZ&& m_self) : self(m_self) { memset(&m_self, 0, sizeof(LDKCVec_NodeAnnouncementZ)); }
2496         operator LDKCVec_NodeAnnouncementZ() && { LDKCVec_NodeAnnouncementZ res = self; memset(&self, 0, sizeof(LDKCVec_NodeAnnouncementZ)); return res; }
2497         ~CVec_NodeAnnouncementZ() { CVec_NodeAnnouncementZ_free(self); }
2498         CVec_NodeAnnouncementZ& operator=(CVec_NodeAnnouncementZ&& o) { CVec_NodeAnnouncementZ_free(self); self = o.self; memset(&o, 0, sizeof(CVec_NodeAnnouncementZ)); return *this; }
2499         LDKCVec_NodeAnnouncementZ* operator &() { return &self; }
2500         LDKCVec_NodeAnnouncementZ* operator ->() { return &self; }
2501         const LDKCVec_NodeAnnouncementZ* operator &() const { return &self; }
2502         const LDKCVec_NodeAnnouncementZ* operator ->() const { return &self; }
2503 };
2504 class CResult_UnsignedChannelAnnouncementDecodeErrorZ {
2505 private:
2506         LDKCResult_UnsignedChannelAnnouncementDecodeErrorZ self;
2507 public:
2508         CResult_UnsignedChannelAnnouncementDecodeErrorZ(const CResult_UnsignedChannelAnnouncementDecodeErrorZ&) = delete;
2509         CResult_UnsignedChannelAnnouncementDecodeErrorZ(CResult_UnsignedChannelAnnouncementDecodeErrorZ&& o) : self(o.self) { memset(&o, 0, sizeof(CResult_UnsignedChannelAnnouncementDecodeErrorZ)); }
2510         CResult_UnsignedChannelAnnouncementDecodeErrorZ(LDKCResult_UnsignedChannelAnnouncementDecodeErrorZ&& m_self) : self(m_self) { memset(&m_self, 0, sizeof(LDKCResult_UnsignedChannelAnnouncementDecodeErrorZ)); }
2511         operator LDKCResult_UnsignedChannelAnnouncementDecodeErrorZ() && { LDKCResult_UnsignedChannelAnnouncementDecodeErrorZ res = self; memset(&self, 0, sizeof(LDKCResult_UnsignedChannelAnnouncementDecodeErrorZ)); return res; }
2512         ~CResult_UnsignedChannelAnnouncementDecodeErrorZ() { CResult_UnsignedChannelAnnouncementDecodeErrorZ_free(self); }
2513         CResult_UnsignedChannelAnnouncementDecodeErrorZ& operator=(CResult_UnsignedChannelAnnouncementDecodeErrorZ&& o) { CResult_UnsignedChannelAnnouncementDecodeErrorZ_free(self); self = o.self; memset(&o, 0, sizeof(CResult_UnsignedChannelAnnouncementDecodeErrorZ)); return *this; }
2514         LDKCResult_UnsignedChannelAnnouncementDecodeErrorZ* operator &() { return &self; }
2515         LDKCResult_UnsignedChannelAnnouncementDecodeErrorZ* operator ->() { return &self; }
2516         const LDKCResult_UnsignedChannelAnnouncementDecodeErrorZ* operator &() const { return &self; }
2517         const LDKCResult_UnsignedChannelAnnouncementDecodeErrorZ* operator ->() const { return &self; }
2518 };
2519 class CResult_PongDecodeErrorZ {
2520 private:
2521         LDKCResult_PongDecodeErrorZ self;
2522 public:
2523         CResult_PongDecodeErrorZ(const CResult_PongDecodeErrorZ&) = delete;
2524         CResult_PongDecodeErrorZ(CResult_PongDecodeErrorZ&& o) : self(o.self) { memset(&o, 0, sizeof(CResult_PongDecodeErrorZ)); }
2525         CResult_PongDecodeErrorZ(LDKCResult_PongDecodeErrorZ&& m_self) : self(m_self) { memset(&m_self, 0, sizeof(LDKCResult_PongDecodeErrorZ)); }
2526         operator LDKCResult_PongDecodeErrorZ() && { LDKCResult_PongDecodeErrorZ res = self; memset(&self, 0, sizeof(LDKCResult_PongDecodeErrorZ)); return res; }
2527         ~CResult_PongDecodeErrorZ() { CResult_PongDecodeErrorZ_free(self); }
2528         CResult_PongDecodeErrorZ& operator=(CResult_PongDecodeErrorZ&& o) { CResult_PongDecodeErrorZ_free(self); self = o.self; memset(&o, 0, sizeof(CResult_PongDecodeErrorZ)); return *this; }
2529         LDKCResult_PongDecodeErrorZ* operator &() { return &self; }
2530         LDKCResult_PongDecodeErrorZ* operator ->() { return &self; }
2531         const LDKCResult_PongDecodeErrorZ* operator &() const { return &self; }
2532         const LDKCResult_PongDecodeErrorZ* operator ->() const { return &self; }
2533 };
2534 class CResult_NoneMonitorUpdateErrorZ {
2535 private:
2536         LDKCResult_NoneMonitorUpdateErrorZ self;
2537 public:
2538         CResult_NoneMonitorUpdateErrorZ(const CResult_NoneMonitorUpdateErrorZ&) = delete;
2539         CResult_NoneMonitorUpdateErrorZ(CResult_NoneMonitorUpdateErrorZ&& o) : self(o.self) { memset(&o, 0, sizeof(CResult_NoneMonitorUpdateErrorZ)); }
2540         CResult_NoneMonitorUpdateErrorZ(LDKCResult_NoneMonitorUpdateErrorZ&& m_self) : self(m_self) { memset(&m_self, 0, sizeof(LDKCResult_NoneMonitorUpdateErrorZ)); }
2541         operator LDKCResult_NoneMonitorUpdateErrorZ() && { LDKCResult_NoneMonitorUpdateErrorZ res = self; memset(&self, 0, sizeof(LDKCResult_NoneMonitorUpdateErrorZ)); return res; }
2542         ~CResult_NoneMonitorUpdateErrorZ() { CResult_NoneMonitorUpdateErrorZ_free(self); }
2543         CResult_NoneMonitorUpdateErrorZ& operator=(CResult_NoneMonitorUpdateErrorZ&& o) { CResult_NoneMonitorUpdateErrorZ_free(self); self = o.self; memset(&o, 0, sizeof(CResult_NoneMonitorUpdateErrorZ)); return *this; }
2544         LDKCResult_NoneMonitorUpdateErrorZ* operator &() { return &self; }
2545         LDKCResult_NoneMonitorUpdateErrorZ* operator ->() { return &self; }
2546         const LDKCResult_NoneMonitorUpdateErrorZ* operator &() const { return &self; }
2547         const LDKCResult_NoneMonitorUpdateErrorZ* operator ->() const { return &self; }
2548 };
2549 class CResult_C2Tuple_SignatureCVec_SignatureZZNoneZ {
2550 private:
2551         LDKCResult_C2Tuple_SignatureCVec_SignatureZZNoneZ self;
2552 public:
2553         CResult_C2Tuple_SignatureCVec_SignatureZZNoneZ(const CResult_C2Tuple_SignatureCVec_SignatureZZNoneZ&) = delete;
2554         CResult_C2Tuple_SignatureCVec_SignatureZZNoneZ(CResult_C2Tuple_SignatureCVec_SignatureZZNoneZ&& o) : self(o.self) { memset(&o, 0, sizeof(CResult_C2Tuple_SignatureCVec_SignatureZZNoneZ)); }
2555         CResult_C2Tuple_SignatureCVec_SignatureZZNoneZ(LDKCResult_C2Tuple_SignatureCVec_SignatureZZNoneZ&& m_self) : self(m_self) { memset(&m_self, 0, sizeof(LDKCResult_C2Tuple_SignatureCVec_SignatureZZNoneZ)); }
2556         operator LDKCResult_C2Tuple_SignatureCVec_SignatureZZNoneZ() && { LDKCResult_C2Tuple_SignatureCVec_SignatureZZNoneZ res = self; memset(&self, 0, sizeof(LDKCResult_C2Tuple_SignatureCVec_SignatureZZNoneZ)); return res; }
2557         ~CResult_C2Tuple_SignatureCVec_SignatureZZNoneZ() { CResult_C2Tuple_SignatureCVec_SignatureZZNoneZ_free(self); }
2558         CResult_C2Tuple_SignatureCVec_SignatureZZNoneZ& operator=(CResult_C2Tuple_SignatureCVec_SignatureZZNoneZ&& o) { CResult_C2Tuple_SignatureCVec_SignatureZZNoneZ_free(self); self = o.self; memset(&o, 0, sizeof(CResult_C2Tuple_SignatureCVec_SignatureZZNoneZ)); return *this; }
2559         LDKCResult_C2Tuple_SignatureCVec_SignatureZZNoneZ* operator &() { return &self; }
2560         LDKCResult_C2Tuple_SignatureCVec_SignatureZZNoneZ* operator ->() { return &self; }
2561         const LDKCResult_C2Tuple_SignatureCVec_SignatureZZNoneZ* operator &() const { return &self; }
2562         const LDKCResult_C2Tuple_SignatureCVec_SignatureZZNoneZ* operator ->() const { return &self; }
2563 };
2564 class CVec_C3Tuple_ChannelAnnouncementChannelUpdateChannelUpdateZZ {
2565 private:
2566         LDKCVec_C3Tuple_ChannelAnnouncementChannelUpdateChannelUpdateZZ self;
2567 public:
2568         CVec_C3Tuple_ChannelAnnouncementChannelUpdateChannelUpdateZZ(const CVec_C3Tuple_ChannelAnnouncementChannelUpdateChannelUpdateZZ&) = delete;
2569         CVec_C3Tuple_ChannelAnnouncementChannelUpdateChannelUpdateZZ(CVec_C3Tuple_ChannelAnnouncementChannelUpdateChannelUpdateZZ&& o) : self(o.self) { memset(&o, 0, sizeof(CVec_C3Tuple_ChannelAnnouncementChannelUpdateChannelUpdateZZ)); }
2570         CVec_C3Tuple_ChannelAnnouncementChannelUpdateChannelUpdateZZ(LDKCVec_C3Tuple_ChannelAnnouncementChannelUpdateChannelUpdateZZ&& m_self) : self(m_self) { memset(&m_self, 0, sizeof(LDKCVec_C3Tuple_ChannelAnnouncementChannelUpdateChannelUpdateZZ)); }
2571         operator LDKCVec_C3Tuple_ChannelAnnouncementChannelUpdateChannelUpdateZZ() && { LDKCVec_C3Tuple_ChannelAnnouncementChannelUpdateChannelUpdateZZ res = self; memset(&self, 0, sizeof(LDKCVec_C3Tuple_ChannelAnnouncementChannelUpdateChannelUpdateZZ)); return res; }
2572         ~CVec_C3Tuple_ChannelAnnouncementChannelUpdateChannelUpdateZZ() { CVec_C3Tuple_ChannelAnnouncementChannelUpdateChannelUpdateZZ_free(self); }
2573         CVec_C3Tuple_ChannelAnnouncementChannelUpdateChannelUpdateZZ& operator=(CVec_C3Tuple_ChannelAnnouncementChannelUpdateChannelUpdateZZ&& o) { CVec_C3Tuple_ChannelAnnouncementChannelUpdateChannelUpdateZZ_free(self); self = o.self; memset(&o, 0, sizeof(CVec_C3Tuple_ChannelAnnouncementChannelUpdateChannelUpdateZZ)); return *this; }
2574         LDKCVec_C3Tuple_ChannelAnnouncementChannelUpdateChannelUpdateZZ* operator &() { return &self; }
2575         LDKCVec_C3Tuple_ChannelAnnouncementChannelUpdateChannelUpdateZZ* operator ->() { return &self; }
2576         const LDKCVec_C3Tuple_ChannelAnnouncementChannelUpdateChannelUpdateZZ* operator &() const { return &self; }
2577         const LDKCVec_C3Tuple_ChannelAnnouncementChannelUpdateChannelUpdateZZ* operator ->() const { return &self; }
2578 };
2579 class CResult_C2Tuple_BlockHashChannelManagerZDecodeErrorZ {
2580 private:
2581         LDKCResult_C2Tuple_BlockHashChannelManagerZDecodeErrorZ self;
2582 public:
2583         CResult_C2Tuple_BlockHashChannelManagerZDecodeErrorZ(const CResult_C2Tuple_BlockHashChannelManagerZDecodeErrorZ&) = delete;
2584         CResult_C2Tuple_BlockHashChannelManagerZDecodeErrorZ(CResult_C2Tuple_BlockHashChannelManagerZDecodeErrorZ&& o) : self(o.self) { memset(&o, 0, sizeof(CResult_C2Tuple_BlockHashChannelManagerZDecodeErrorZ)); }
2585         CResult_C2Tuple_BlockHashChannelManagerZDecodeErrorZ(LDKCResult_C2Tuple_BlockHashChannelManagerZDecodeErrorZ&& m_self) : self(m_self) { memset(&m_self, 0, sizeof(LDKCResult_C2Tuple_BlockHashChannelManagerZDecodeErrorZ)); }
2586         operator LDKCResult_C2Tuple_BlockHashChannelManagerZDecodeErrorZ() && { LDKCResult_C2Tuple_BlockHashChannelManagerZDecodeErrorZ res = self; memset(&self, 0, sizeof(LDKCResult_C2Tuple_BlockHashChannelManagerZDecodeErrorZ)); return res; }
2587         ~CResult_C2Tuple_BlockHashChannelManagerZDecodeErrorZ() { CResult_C2Tuple_BlockHashChannelManagerZDecodeErrorZ_free(self); }
2588         CResult_C2Tuple_BlockHashChannelManagerZDecodeErrorZ& operator=(CResult_C2Tuple_BlockHashChannelManagerZDecodeErrorZ&& o) { CResult_C2Tuple_BlockHashChannelManagerZDecodeErrorZ_free(self); self = o.self; memset(&o, 0, sizeof(CResult_C2Tuple_BlockHashChannelManagerZDecodeErrorZ)); return *this; }
2589         LDKCResult_C2Tuple_BlockHashChannelManagerZDecodeErrorZ* operator &() { return &self; }
2590         LDKCResult_C2Tuple_BlockHashChannelManagerZDecodeErrorZ* operator ->() { return &self; }
2591         const LDKCResult_C2Tuple_BlockHashChannelManagerZDecodeErrorZ* operator &() const { return &self; }
2592         const LDKCResult_C2Tuple_BlockHashChannelManagerZDecodeErrorZ* operator ->() const { return &self; }
2593 };
2594 class CResult_CVec_CVec_u8ZZNoneZ {
2595 private:
2596         LDKCResult_CVec_CVec_u8ZZNoneZ self;
2597 public:
2598         CResult_CVec_CVec_u8ZZNoneZ(const CResult_CVec_CVec_u8ZZNoneZ&) = delete;
2599         CResult_CVec_CVec_u8ZZNoneZ(CResult_CVec_CVec_u8ZZNoneZ&& o) : self(o.self) { memset(&o, 0, sizeof(CResult_CVec_CVec_u8ZZNoneZ)); }
2600         CResult_CVec_CVec_u8ZZNoneZ(LDKCResult_CVec_CVec_u8ZZNoneZ&& m_self) : self(m_self) { memset(&m_self, 0, sizeof(LDKCResult_CVec_CVec_u8ZZNoneZ)); }
2601         operator LDKCResult_CVec_CVec_u8ZZNoneZ() && { LDKCResult_CVec_CVec_u8ZZNoneZ res = self; memset(&self, 0, sizeof(LDKCResult_CVec_CVec_u8ZZNoneZ)); return res; }
2602         ~CResult_CVec_CVec_u8ZZNoneZ() { CResult_CVec_CVec_u8ZZNoneZ_free(self); }
2603         CResult_CVec_CVec_u8ZZNoneZ& operator=(CResult_CVec_CVec_u8ZZNoneZ&& o) { CResult_CVec_CVec_u8ZZNoneZ_free(self); self = o.self; memset(&o, 0, sizeof(CResult_CVec_CVec_u8ZZNoneZ)); return *this; }
2604         LDKCResult_CVec_CVec_u8ZZNoneZ* operator &() { return &self; }
2605         LDKCResult_CVec_CVec_u8ZZNoneZ* operator ->() { return &self; }
2606         const LDKCResult_CVec_CVec_u8ZZNoneZ* operator &() const { return &self; }
2607         const LDKCResult_CVec_CVec_u8ZZNoneZ* operator ->() const { return &self; }
2608 };
2609 class CResult_AcceptChannelDecodeErrorZ {
2610 private:
2611         LDKCResult_AcceptChannelDecodeErrorZ self;
2612 public:
2613         CResult_AcceptChannelDecodeErrorZ(const CResult_AcceptChannelDecodeErrorZ&) = delete;
2614         CResult_AcceptChannelDecodeErrorZ(CResult_AcceptChannelDecodeErrorZ&& o) : self(o.self) { memset(&o, 0, sizeof(CResult_AcceptChannelDecodeErrorZ)); }
2615         CResult_AcceptChannelDecodeErrorZ(LDKCResult_AcceptChannelDecodeErrorZ&& m_self) : self(m_self) { memset(&m_self, 0, sizeof(LDKCResult_AcceptChannelDecodeErrorZ)); }
2616         operator LDKCResult_AcceptChannelDecodeErrorZ() && { LDKCResult_AcceptChannelDecodeErrorZ res = self; memset(&self, 0, sizeof(LDKCResult_AcceptChannelDecodeErrorZ)); return res; }
2617         ~CResult_AcceptChannelDecodeErrorZ() { CResult_AcceptChannelDecodeErrorZ_free(self); }
2618         CResult_AcceptChannelDecodeErrorZ& operator=(CResult_AcceptChannelDecodeErrorZ&& o) { CResult_AcceptChannelDecodeErrorZ_free(self); self = o.self; memset(&o, 0, sizeof(CResult_AcceptChannelDecodeErrorZ)); return *this; }
2619         LDKCResult_AcceptChannelDecodeErrorZ* operator &() { return &self; }
2620         LDKCResult_AcceptChannelDecodeErrorZ* operator ->() { return &self; }
2621         const LDKCResult_AcceptChannelDecodeErrorZ* operator &() const { return &self; }
2622         const LDKCResult_AcceptChannelDecodeErrorZ* operator ->() const { return &self; }
2623 };
2624 class C2Tuple_BlockHashChannelManagerZ {
2625 private:
2626         LDKC2Tuple_BlockHashChannelManagerZ self;
2627 public:
2628         C2Tuple_BlockHashChannelManagerZ(const C2Tuple_BlockHashChannelManagerZ&) = delete;
2629         C2Tuple_BlockHashChannelManagerZ(C2Tuple_BlockHashChannelManagerZ&& o) : self(o.self) { memset(&o, 0, sizeof(C2Tuple_BlockHashChannelManagerZ)); }
2630         C2Tuple_BlockHashChannelManagerZ(LDKC2Tuple_BlockHashChannelManagerZ&& m_self) : self(m_self) { memset(&m_self, 0, sizeof(LDKC2Tuple_BlockHashChannelManagerZ)); }
2631         operator LDKC2Tuple_BlockHashChannelManagerZ() && { LDKC2Tuple_BlockHashChannelManagerZ res = self; memset(&self, 0, sizeof(LDKC2Tuple_BlockHashChannelManagerZ)); return res; }
2632         ~C2Tuple_BlockHashChannelManagerZ() { C2Tuple_BlockHashChannelManagerZ_free(self); }
2633         C2Tuple_BlockHashChannelManagerZ& operator=(C2Tuple_BlockHashChannelManagerZ&& o) { C2Tuple_BlockHashChannelManagerZ_free(self); self = o.self; memset(&o, 0, sizeof(C2Tuple_BlockHashChannelManagerZ)); return *this; }
2634         LDKC2Tuple_BlockHashChannelManagerZ* operator &() { return &self; }
2635         LDKC2Tuple_BlockHashChannelManagerZ* operator ->() { return &self; }
2636         const LDKC2Tuple_BlockHashChannelManagerZ* operator &() const { return &self; }
2637         const LDKC2Tuple_BlockHashChannelManagerZ* operator ->() const { return &self; }
2638 };
2639 class CResult_ChannelTransactionParametersDecodeErrorZ {
2640 private:
2641         LDKCResult_ChannelTransactionParametersDecodeErrorZ self;
2642 public:
2643         CResult_ChannelTransactionParametersDecodeErrorZ(const CResult_ChannelTransactionParametersDecodeErrorZ&) = delete;
2644         CResult_ChannelTransactionParametersDecodeErrorZ(CResult_ChannelTransactionParametersDecodeErrorZ&& o) : self(o.self) { memset(&o, 0, sizeof(CResult_ChannelTransactionParametersDecodeErrorZ)); }
2645         CResult_ChannelTransactionParametersDecodeErrorZ(LDKCResult_ChannelTransactionParametersDecodeErrorZ&& m_self) : self(m_self) { memset(&m_self, 0, sizeof(LDKCResult_ChannelTransactionParametersDecodeErrorZ)); }
2646         operator LDKCResult_ChannelTransactionParametersDecodeErrorZ() && { LDKCResult_ChannelTransactionParametersDecodeErrorZ res = self; memset(&self, 0, sizeof(LDKCResult_ChannelTransactionParametersDecodeErrorZ)); return res; }
2647         ~CResult_ChannelTransactionParametersDecodeErrorZ() { CResult_ChannelTransactionParametersDecodeErrorZ_free(self); }
2648         CResult_ChannelTransactionParametersDecodeErrorZ& operator=(CResult_ChannelTransactionParametersDecodeErrorZ&& o) { CResult_ChannelTransactionParametersDecodeErrorZ_free(self); self = o.self; memset(&o, 0, sizeof(CResult_ChannelTransactionParametersDecodeErrorZ)); return *this; }
2649         LDKCResult_ChannelTransactionParametersDecodeErrorZ* operator &() { return &self; }
2650         LDKCResult_ChannelTransactionParametersDecodeErrorZ* operator ->() { return &self; }
2651         const LDKCResult_ChannelTransactionParametersDecodeErrorZ* operator &() const { return &self; }
2652         const LDKCResult_ChannelTransactionParametersDecodeErrorZ* operator ->() const { return &self; }
2653 };
2654 class CVec_SignatureZ {
2655 private:
2656         LDKCVec_SignatureZ self;
2657 public:
2658         CVec_SignatureZ(const CVec_SignatureZ&) = delete;
2659         CVec_SignatureZ(CVec_SignatureZ&& o) : self(o.self) { memset(&o, 0, sizeof(CVec_SignatureZ)); }
2660         CVec_SignatureZ(LDKCVec_SignatureZ&& m_self) : self(m_self) { memset(&m_self, 0, sizeof(LDKCVec_SignatureZ)); }
2661         operator LDKCVec_SignatureZ() && { LDKCVec_SignatureZ res = self; memset(&self, 0, sizeof(LDKCVec_SignatureZ)); return res; }
2662         ~CVec_SignatureZ() { CVec_SignatureZ_free(self); }
2663         CVec_SignatureZ& operator=(CVec_SignatureZ&& o) { CVec_SignatureZ_free(self); self = o.self; memset(&o, 0, sizeof(CVec_SignatureZ)); return *this; }
2664         LDKCVec_SignatureZ* operator &() { return &self; }
2665         LDKCVec_SignatureZ* operator ->() { return &self; }
2666         const LDKCVec_SignatureZ* operator &() const { return &self; }
2667         const LDKCVec_SignatureZ* operator ->() const { return &self; }
2668 };
2669 class CVec_u64Z {
2670 private:
2671         LDKCVec_u64Z self;
2672 public:
2673         CVec_u64Z(const CVec_u64Z&) = delete;
2674         CVec_u64Z(CVec_u64Z&& o) : self(o.self) { memset(&o, 0, sizeof(CVec_u64Z)); }
2675         CVec_u64Z(LDKCVec_u64Z&& m_self) : self(m_self) { memset(&m_self, 0, sizeof(LDKCVec_u64Z)); }
2676         operator LDKCVec_u64Z() && { LDKCVec_u64Z res = self; memset(&self, 0, sizeof(LDKCVec_u64Z)); return res; }
2677         ~CVec_u64Z() { CVec_u64Z_free(self); }
2678         CVec_u64Z& operator=(CVec_u64Z&& o) { CVec_u64Z_free(self); self = o.self; memset(&o, 0, sizeof(CVec_u64Z)); return *this; }
2679         LDKCVec_u64Z* operator &() { return &self; }
2680         LDKCVec_u64Z* operator ->() { return &self; }
2681         const LDKCVec_u64Z* operator &() const { return &self; }
2682         const LDKCVec_u64Z* operator ->() const { return &self; }
2683 };
2684 class CVec_RouteHintZ {
2685 private:
2686         LDKCVec_RouteHintZ self;
2687 public:
2688         CVec_RouteHintZ(const CVec_RouteHintZ&) = delete;
2689         CVec_RouteHintZ(CVec_RouteHintZ&& o) : self(o.self) { memset(&o, 0, sizeof(CVec_RouteHintZ)); }
2690         CVec_RouteHintZ(LDKCVec_RouteHintZ&& m_self) : self(m_self) { memset(&m_self, 0, sizeof(LDKCVec_RouteHintZ)); }
2691         operator LDKCVec_RouteHintZ() && { LDKCVec_RouteHintZ res = self; memset(&self, 0, sizeof(LDKCVec_RouteHintZ)); return res; }
2692         ~CVec_RouteHintZ() { CVec_RouteHintZ_free(self); }
2693         CVec_RouteHintZ& operator=(CVec_RouteHintZ&& o) { CVec_RouteHintZ_free(self); self = o.self; memset(&o, 0, sizeof(CVec_RouteHintZ)); return *this; }
2694         LDKCVec_RouteHintZ* operator &() { return &self; }
2695         LDKCVec_RouteHintZ* operator ->() { return &self; }
2696         const LDKCVec_RouteHintZ* operator &() const { return &self; }
2697         const LDKCVec_RouteHintZ* operator ->() const { return &self; }
2698 };
2699 class CVec_CVec_RouteHopZZ {
2700 private:
2701         LDKCVec_CVec_RouteHopZZ self;
2702 public:
2703         CVec_CVec_RouteHopZZ(const CVec_CVec_RouteHopZZ&) = delete;
2704         CVec_CVec_RouteHopZZ(CVec_CVec_RouteHopZZ&& o) : self(o.self) { memset(&o, 0, sizeof(CVec_CVec_RouteHopZZ)); }
2705         CVec_CVec_RouteHopZZ(LDKCVec_CVec_RouteHopZZ&& m_self) : self(m_self) { memset(&m_self, 0, sizeof(LDKCVec_CVec_RouteHopZZ)); }
2706         operator LDKCVec_CVec_RouteHopZZ() && { LDKCVec_CVec_RouteHopZZ res = self; memset(&self, 0, sizeof(LDKCVec_CVec_RouteHopZZ)); return res; }
2707         ~CVec_CVec_RouteHopZZ() { CVec_CVec_RouteHopZZ_free(self); }
2708         CVec_CVec_RouteHopZZ& operator=(CVec_CVec_RouteHopZZ&& o) { CVec_CVec_RouteHopZZ_free(self); self = o.self; memset(&o, 0, sizeof(CVec_CVec_RouteHopZZ)); return *this; }
2709         LDKCVec_CVec_RouteHopZZ* operator &() { return &self; }
2710         LDKCVec_CVec_RouteHopZZ* operator ->() { return &self; }
2711         const LDKCVec_CVec_RouteHopZZ* operator &() const { return &self; }
2712         const LDKCVec_CVec_RouteHopZZ* operator ->() const { return &self; }
2713 };
2714 class CResult_TrustedCommitmentTransactionNoneZ {
2715 private:
2716         LDKCResult_TrustedCommitmentTransactionNoneZ self;
2717 public:
2718         CResult_TrustedCommitmentTransactionNoneZ(const CResult_TrustedCommitmentTransactionNoneZ&) = delete;
2719         CResult_TrustedCommitmentTransactionNoneZ(CResult_TrustedCommitmentTransactionNoneZ&& o) : self(o.self) { memset(&o, 0, sizeof(CResult_TrustedCommitmentTransactionNoneZ)); }
2720         CResult_TrustedCommitmentTransactionNoneZ(LDKCResult_TrustedCommitmentTransactionNoneZ&& m_self) : self(m_self) { memset(&m_self, 0, sizeof(LDKCResult_TrustedCommitmentTransactionNoneZ)); }
2721         operator LDKCResult_TrustedCommitmentTransactionNoneZ() && { LDKCResult_TrustedCommitmentTransactionNoneZ res = self; memset(&self, 0, sizeof(LDKCResult_TrustedCommitmentTransactionNoneZ)); return res; }
2722         ~CResult_TrustedCommitmentTransactionNoneZ() { CResult_TrustedCommitmentTransactionNoneZ_free(self); }
2723         CResult_TrustedCommitmentTransactionNoneZ& operator=(CResult_TrustedCommitmentTransactionNoneZ&& o) { CResult_TrustedCommitmentTransactionNoneZ_free(self); self = o.self; memset(&o, 0, sizeof(CResult_TrustedCommitmentTransactionNoneZ)); return *this; }
2724         LDKCResult_TrustedCommitmentTransactionNoneZ* operator &() { return &self; }
2725         LDKCResult_TrustedCommitmentTransactionNoneZ* operator ->() { return &self; }
2726         const LDKCResult_TrustedCommitmentTransactionNoneZ* operator &() const { return &self; }
2727         const LDKCResult_TrustedCommitmentTransactionNoneZ* operator ->() const { return &self; }
2728 };
2729 class CResult_NonePeerHandleErrorZ {
2730 private:
2731         LDKCResult_NonePeerHandleErrorZ self;
2732 public:
2733         CResult_NonePeerHandleErrorZ(const CResult_NonePeerHandleErrorZ&) = delete;
2734         CResult_NonePeerHandleErrorZ(CResult_NonePeerHandleErrorZ&& o) : self(o.self) { memset(&o, 0, sizeof(CResult_NonePeerHandleErrorZ)); }
2735         CResult_NonePeerHandleErrorZ(LDKCResult_NonePeerHandleErrorZ&& m_self) : self(m_self) { memset(&m_self, 0, sizeof(LDKCResult_NonePeerHandleErrorZ)); }
2736         operator LDKCResult_NonePeerHandleErrorZ() && { LDKCResult_NonePeerHandleErrorZ res = self; memset(&self, 0, sizeof(LDKCResult_NonePeerHandleErrorZ)); return res; }
2737         ~CResult_NonePeerHandleErrorZ() { CResult_NonePeerHandleErrorZ_free(self); }
2738         CResult_NonePeerHandleErrorZ& operator=(CResult_NonePeerHandleErrorZ&& o) { CResult_NonePeerHandleErrorZ_free(self); self = o.self; memset(&o, 0, sizeof(CResult_NonePeerHandleErrorZ)); return *this; }
2739         LDKCResult_NonePeerHandleErrorZ* operator &() { return &self; }
2740         LDKCResult_NonePeerHandleErrorZ* operator ->() { return &self; }
2741         const LDKCResult_NonePeerHandleErrorZ* operator &() const { return &self; }
2742         const LDKCResult_NonePeerHandleErrorZ* operator ->() const { return &self; }
2743 };
2744 class CResult_NoneLightningErrorZ {
2745 private:
2746         LDKCResult_NoneLightningErrorZ self;
2747 public:
2748         CResult_NoneLightningErrorZ(const CResult_NoneLightningErrorZ&) = delete;
2749         CResult_NoneLightningErrorZ(CResult_NoneLightningErrorZ&& o) : self(o.self) { memset(&o, 0, sizeof(CResult_NoneLightningErrorZ)); }
2750         CResult_NoneLightningErrorZ(LDKCResult_NoneLightningErrorZ&& m_self) : self(m_self) { memset(&m_self, 0, sizeof(LDKCResult_NoneLightningErrorZ)); }
2751         operator LDKCResult_NoneLightningErrorZ() && { LDKCResult_NoneLightningErrorZ res = self; memset(&self, 0, sizeof(LDKCResult_NoneLightningErrorZ)); return res; }
2752         ~CResult_NoneLightningErrorZ() { CResult_NoneLightningErrorZ_free(self); }
2753         CResult_NoneLightningErrorZ& operator=(CResult_NoneLightningErrorZ&& o) { CResult_NoneLightningErrorZ_free(self); self = o.self; memset(&o, 0, sizeof(CResult_NoneLightningErrorZ)); return *this; }
2754         LDKCResult_NoneLightningErrorZ* operator &() { return &self; }
2755         LDKCResult_NoneLightningErrorZ* operator ->() { return &self; }
2756         const LDKCResult_NoneLightningErrorZ* operator &() const { return &self; }
2757         const LDKCResult_NoneLightningErrorZ* operator ->() const { return &self; }
2758 };
2759 class CResult_CVec_SignatureZNoneZ {
2760 private:
2761         LDKCResult_CVec_SignatureZNoneZ self;
2762 public:
2763         CResult_CVec_SignatureZNoneZ(const CResult_CVec_SignatureZNoneZ&) = delete;
2764         CResult_CVec_SignatureZNoneZ(CResult_CVec_SignatureZNoneZ&& o) : self(o.self) { memset(&o, 0, sizeof(CResult_CVec_SignatureZNoneZ)); }
2765         CResult_CVec_SignatureZNoneZ(LDKCResult_CVec_SignatureZNoneZ&& m_self) : self(m_self) { memset(&m_self, 0, sizeof(LDKCResult_CVec_SignatureZNoneZ)); }
2766         operator LDKCResult_CVec_SignatureZNoneZ() && { LDKCResult_CVec_SignatureZNoneZ res = self; memset(&self, 0, sizeof(LDKCResult_CVec_SignatureZNoneZ)); return res; }
2767         ~CResult_CVec_SignatureZNoneZ() { CResult_CVec_SignatureZNoneZ_free(self); }
2768         CResult_CVec_SignatureZNoneZ& operator=(CResult_CVec_SignatureZNoneZ&& o) { CResult_CVec_SignatureZNoneZ_free(self); self = o.self; memset(&o, 0, sizeof(CResult_CVec_SignatureZNoneZ)); return *this; }
2769         LDKCResult_CVec_SignatureZNoneZ* operator &() { return &self; }
2770         LDKCResult_CVec_SignatureZNoneZ* operator ->() { return &self; }
2771         const LDKCResult_CVec_SignatureZNoneZ* operator &() const { return &self; }
2772         const LDKCResult_CVec_SignatureZNoneZ* operator ->() const { return &self; }
2773 };
2774 class CResult_RoutingFeesDecodeErrorZ {
2775 private:
2776         LDKCResult_RoutingFeesDecodeErrorZ self;
2777 public:
2778         CResult_RoutingFeesDecodeErrorZ(const CResult_RoutingFeesDecodeErrorZ&) = delete;
2779         CResult_RoutingFeesDecodeErrorZ(CResult_RoutingFeesDecodeErrorZ&& o) : self(o.self) { memset(&o, 0, sizeof(CResult_RoutingFeesDecodeErrorZ)); }
2780         CResult_RoutingFeesDecodeErrorZ(LDKCResult_RoutingFeesDecodeErrorZ&& m_self) : self(m_self) { memset(&m_self, 0, sizeof(LDKCResult_RoutingFeesDecodeErrorZ)); }
2781         operator LDKCResult_RoutingFeesDecodeErrorZ() && { LDKCResult_RoutingFeesDecodeErrorZ res = self; memset(&self, 0, sizeof(LDKCResult_RoutingFeesDecodeErrorZ)); return res; }
2782         ~CResult_RoutingFeesDecodeErrorZ() { CResult_RoutingFeesDecodeErrorZ_free(self); }
2783         CResult_RoutingFeesDecodeErrorZ& operator=(CResult_RoutingFeesDecodeErrorZ&& o) { CResult_RoutingFeesDecodeErrorZ_free(self); self = o.self; memset(&o, 0, sizeof(CResult_RoutingFeesDecodeErrorZ)); return *this; }
2784         LDKCResult_RoutingFeesDecodeErrorZ* operator &() { return &self; }
2785         LDKCResult_RoutingFeesDecodeErrorZ* operator ->() { return &self; }
2786         const LDKCResult_RoutingFeesDecodeErrorZ* operator &() const { return &self; }
2787         const LDKCResult_RoutingFeesDecodeErrorZ* operator ->() const { return &self; }
2788 };
2789 class CResult_QueryShortChannelIdsDecodeErrorZ {
2790 private:
2791         LDKCResult_QueryShortChannelIdsDecodeErrorZ self;
2792 public:
2793         CResult_QueryShortChannelIdsDecodeErrorZ(const CResult_QueryShortChannelIdsDecodeErrorZ&) = delete;
2794         CResult_QueryShortChannelIdsDecodeErrorZ(CResult_QueryShortChannelIdsDecodeErrorZ&& o) : self(o.self) { memset(&o, 0, sizeof(CResult_QueryShortChannelIdsDecodeErrorZ)); }
2795         CResult_QueryShortChannelIdsDecodeErrorZ(LDKCResult_QueryShortChannelIdsDecodeErrorZ&& m_self) : self(m_self) { memset(&m_self, 0, sizeof(LDKCResult_QueryShortChannelIdsDecodeErrorZ)); }
2796         operator LDKCResult_QueryShortChannelIdsDecodeErrorZ() && { LDKCResult_QueryShortChannelIdsDecodeErrorZ res = self; memset(&self, 0, sizeof(LDKCResult_QueryShortChannelIdsDecodeErrorZ)); return res; }
2797         ~CResult_QueryShortChannelIdsDecodeErrorZ() { CResult_QueryShortChannelIdsDecodeErrorZ_free(self); }
2798         CResult_QueryShortChannelIdsDecodeErrorZ& operator=(CResult_QueryShortChannelIdsDecodeErrorZ&& o) { CResult_QueryShortChannelIdsDecodeErrorZ_free(self); self = o.self; memset(&o, 0, sizeof(CResult_QueryShortChannelIdsDecodeErrorZ)); return *this; }
2799         LDKCResult_QueryShortChannelIdsDecodeErrorZ* operator &() { return &self; }
2800         LDKCResult_QueryShortChannelIdsDecodeErrorZ* operator ->() { return &self; }
2801         const LDKCResult_QueryShortChannelIdsDecodeErrorZ* operator &() const { return &self; }
2802         const LDKCResult_QueryShortChannelIdsDecodeErrorZ* operator ->() const { return &self; }
2803 };
2804 class CResult_UpdateAddHTLCDecodeErrorZ {
2805 private:
2806         LDKCResult_UpdateAddHTLCDecodeErrorZ self;
2807 public:
2808         CResult_UpdateAddHTLCDecodeErrorZ(const CResult_UpdateAddHTLCDecodeErrorZ&) = delete;
2809         CResult_UpdateAddHTLCDecodeErrorZ(CResult_UpdateAddHTLCDecodeErrorZ&& o) : self(o.self) { memset(&o, 0, sizeof(CResult_UpdateAddHTLCDecodeErrorZ)); }
2810         CResult_UpdateAddHTLCDecodeErrorZ(LDKCResult_UpdateAddHTLCDecodeErrorZ&& m_self) : self(m_self) { memset(&m_self, 0, sizeof(LDKCResult_UpdateAddHTLCDecodeErrorZ)); }
2811         operator LDKCResult_UpdateAddHTLCDecodeErrorZ() && { LDKCResult_UpdateAddHTLCDecodeErrorZ res = self; memset(&self, 0, sizeof(LDKCResult_UpdateAddHTLCDecodeErrorZ)); return res; }
2812         ~CResult_UpdateAddHTLCDecodeErrorZ() { CResult_UpdateAddHTLCDecodeErrorZ_free(self); }
2813         CResult_UpdateAddHTLCDecodeErrorZ& operator=(CResult_UpdateAddHTLCDecodeErrorZ&& o) { CResult_UpdateAddHTLCDecodeErrorZ_free(self); self = o.self; memset(&o, 0, sizeof(CResult_UpdateAddHTLCDecodeErrorZ)); return *this; }
2814         LDKCResult_UpdateAddHTLCDecodeErrorZ* operator &() { return &self; }
2815         LDKCResult_UpdateAddHTLCDecodeErrorZ* operator ->() { return &self; }
2816         const LDKCResult_UpdateAddHTLCDecodeErrorZ* operator &() const { return &self; }
2817         const LDKCResult_UpdateAddHTLCDecodeErrorZ* operator ->() const { return &self; }
2818 };
2819 class CResult_CounterpartyChannelTransactionParametersDecodeErrorZ {
2820 private:
2821         LDKCResult_CounterpartyChannelTransactionParametersDecodeErrorZ self;
2822 public:
2823         CResult_CounterpartyChannelTransactionParametersDecodeErrorZ(const CResult_CounterpartyChannelTransactionParametersDecodeErrorZ&) = delete;
2824         CResult_CounterpartyChannelTransactionParametersDecodeErrorZ(CResult_CounterpartyChannelTransactionParametersDecodeErrorZ&& o) : self(o.self) { memset(&o, 0, sizeof(CResult_CounterpartyChannelTransactionParametersDecodeErrorZ)); }
2825         CResult_CounterpartyChannelTransactionParametersDecodeErrorZ(LDKCResult_CounterpartyChannelTransactionParametersDecodeErrorZ&& m_self) : self(m_self) { memset(&m_self, 0, sizeof(LDKCResult_CounterpartyChannelTransactionParametersDecodeErrorZ)); }
2826         operator LDKCResult_CounterpartyChannelTransactionParametersDecodeErrorZ() && { LDKCResult_CounterpartyChannelTransactionParametersDecodeErrorZ res = self; memset(&self, 0, sizeof(LDKCResult_CounterpartyChannelTransactionParametersDecodeErrorZ)); return res; }
2827         ~CResult_CounterpartyChannelTransactionParametersDecodeErrorZ() { CResult_CounterpartyChannelTransactionParametersDecodeErrorZ_free(self); }
2828         CResult_CounterpartyChannelTransactionParametersDecodeErrorZ& operator=(CResult_CounterpartyChannelTransactionParametersDecodeErrorZ&& o) { CResult_CounterpartyChannelTransactionParametersDecodeErrorZ_free(self); self = o.self; memset(&o, 0, sizeof(CResult_CounterpartyChannelTransactionParametersDecodeErrorZ)); return *this; }
2829         LDKCResult_CounterpartyChannelTransactionParametersDecodeErrorZ* operator &() { return &self; }
2830         LDKCResult_CounterpartyChannelTransactionParametersDecodeErrorZ* operator ->() { return &self; }
2831         const LDKCResult_CounterpartyChannelTransactionParametersDecodeErrorZ* operator &() const { return &self; }
2832         const LDKCResult_CounterpartyChannelTransactionParametersDecodeErrorZ* operator ->() const { return &self; }
2833 };
2834 class CResult_NoneAPIErrorZ {
2835 private:
2836         LDKCResult_NoneAPIErrorZ self;
2837 public:
2838         CResult_NoneAPIErrorZ(const CResult_NoneAPIErrorZ&) = delete;
2839         CResult_NoneAPIErrorZ(CResult_NoneAPIErrorZ&& o) : self(o.self) { memset(&o, 0, sizeof(CResult_NoneAPIErrorZ)); }
2840         CResult_NoneAPIErrorZ(LDKCResult_NoneAPIErrorZ&& m_self) : self(m_self) { memset(&m_self, 0, sizeof(LDKCResult_NoneAPIErrorZ)); }
2841         operator LDKCResult_NoneAPIErrorZ() && { LDKCResult_NoneAPIErrorZ res = self; memset(&self, 0, sizeof(LDKCResult_NoneAPIErrorZ)); return res; }
2842         ~CResult_NoneAPIErrorZ() { CResult_NoneAPIErrorZ_free(self); }
2843         CResult_NoneAPIErrorZ& operator=(CResult_NoneAPIErrorZ&& o) { CResult_NoneAPIErrorZ_free(self); self = o.self; memset(&o, 0, sizeof(CResult_NoneAPIErrorZ)); return *this; }
2844         LDKCResult_NoneAPIErrorZ* operator &() { return &self; }
2845         LDKCResult_NoneAPIErrorZ* operator ->() { return &self; }
2846         const LDKCResult_NoneAPIErrorZ* operator &() const { return &self; }
2847         const LDKCResult_NoneAPIErrorZ* operator ->() const { return &self; }
2848 };
2849 class CVec_NetAddressZ {
2850 private:
2851         LDKCVec_NetAddressZ self;
2852 public:
2853         CVec_NetAddressZ(const CVec_NetAddressZ&) = delete;
2854         CVec_NetAddressZ(CVec_NetAddressZ&& o) : self(o.self) { memset(&o, 0, sizeof(CVec_NetAddressZ)); }
2855         CVec_NetAddressZ(LDKCVec_NetAddressZ&& m_self) : self(m_self) { memset(&m_self, 0, sizeof(LDKCVec_NetAddressZ)); }
2856         operator LDKCVec_NetAddressZ() && { LDKCVec_NetAddressZ res = self; memset(&self, 0, sizeof(LDKCVec_NetAddressZ)); return res; }
2857         ~CVec_NetAddressZ() { CVec_NetAddressZ_free(self); }
2858         CVec_NetAddressZ& operator=(CVec_NetAddressZ&& o) { CVec_NetAddressZ_free(self); self = o.self; memset(&o, 0, sizeof(CVec_NetAddressZ)); return *this; }
2859         LDKCVec_NetAddressZ* operator &() { return &self; }
2860         LDKCVec_NetAddressZ* operator ->() { return &self; }
2861         const LDKCVec_NetAddressZ* operator &() const { return &self; }
2862         const LDKCVec_NetAddressZ* operator ->() const { return &self; }
2863 };
2864 class CVec_PublicKeyZ {
2865 private:
2866         LDKCVec_PublicKeyZ self;
2867 public:
2868         CVec_PublicKeyZ(const CVec_PublicKeyZ&) = delete;
2869         CVec_PublicKeyZ(CVec_PublicKeyZ&& o) : self(o.self) { memset(&o, 0, sizeof(CVec_PublicKeyZ)); }
2870         CVec_PublicKeyZ(LDKCVec_PublicKeyZ&& m_self) : self(m_self) { memset(&m_self, 0, sizeof(LDKCVec_PublicKeyZ)); }
2871         operator LDKCVec_PublicKeyZ() && { LDKCVec_PublicKeyZ res = self; memset(&self, 0, sizeof(LDKCVec_PublicKeyZ)); return res; }
2872         ~CVec_PublicKeyZ() { CVec_PublicKeyZ_free(self); }
2873         CVec_PublicKeyZ& operator=(CVec_PublicKeyZ&& o) { CVec_PublicKeyZ_free(self); self = o.self; memset(&o, 0, sizeof(CVec_PublicKeyZ)); return *this; }
2874         LDKCVec_PublicKeyZ* operator &() { return &self; }
2875         LDKCVec_PublicKeyZ* operator ->() { return &self; }
2876         const LDKCVec_PublicKeyZ* operator &() const { return &self; }
2877         const LDKCVec_PublicKeyZ* operator ->() const { return &self; }
2878 };
2879 class CVec_C2Tuple_usizeTransactionZZ {
2880 private:
2881         LDKCVec_C2Tuple_usizeTransactionZZ self;
2882 public:
2883         CVec_C2Tuple_usizeTransactionZZ(const CVec_C2Tuple_usizeTransactionZZ&) = delete;
2884         CVec_C2Tuple_usizeTransactionZZ(CVec_C2Tuple_usizeTransactionZZ&& o) : self(o.self) { memset(&o, 0, sizeof(CVec_C2Tuple_usizeTransactionZZ)); }
2885         CVec_C2Tuple_usizeTransactionZZ(LDKCVec_C2Tuple_usizeTransactionZZ&& m_self) : self(m_self) { memset(&m_self, 0, sizeof(LDKCVec_C2Tuple_usizeTransactionZZ)); }
2886         operator LDKCVec_C2Tuple_usizeTransactionZZ() && { LDKCVec_C2Tuple_usizeTransactionZZ res = self; memset(&self, 0, sizeof(LDKCVec_C2Tuple_usizeTransactionZZ)); return res; }
2887         ~CVec_C2Tuple_usizeTransactionZZ() { CVec_C2Tuple_usizeTransactionZZ_free(self); }
2888         CVec_C2Tuple_usizeTransactionZZ& operator=(CVec_C2Tuple_usizeTransactionZZ&& o) { CVec_C2Tuple_usizeTransactionZZ_free(self); self = o.self; memset(&o, 0, sizeof(CVec_C2Tuple_usizeTransactionZZ)); return *this; }
2889         LDKCVec_C2Tuple_usizeTransactionZZ* operator &() { return &self; }
2890         LDKCVec_C2Tuple_usizeTransactionZZ* operator ->() { return &self; }
2891         const LDKCVec_C2Tuple_usizeTransactionZZ* operator &() const { return &self; }
2892         const LDKCVec_C2Tuple_usizeTransactionZZ* operator ->() const { return &self; }
2893 };
2894 class CResult_DirectionalChannelInfoDecodeErrorZ {
2895 private:
2896         LDKCResult_DirectionalChannelInfoDecodeErrorZ self;
2897 public:
2898         CResult_DirectionalChannelInfoDecodeErrorZ(const CResult_DirectionalChannelInfoDecodeErrorZ&) = delete;
2899         CResult_DirectionalChannelInfoDecodeErrorZ(CResult_DirectionalChannelInfoDecodeErrorZ&& o) : self(o.self) { memset(&o, 0, sizeof(CResult_DirectionalChannelInfoDecodeErrorZ)); }
2900         CResult_DirectionalChannelInfoDecodeErrorZ(LDKCResult_DirectionalChannelInfoDecodeErrorZ&& m_self) : self(m_self) { memset(&m_self, 0, sizeof(LDKCResult_DirectionalChannelInfoDecodeErrorZ)); }
2901         operator LDKCResult_DirectionalChannelInfoDecodeErrorZ() && { LDKCResult_DirectionalChannelInfoDecodeErrorZ res = self; memset(&self, 0, sizeof(LDKCResult_DirectionalChannelInfoDecodeErrorZ)); return res; }
2902         ~CResult_DirectionalChannelInfoDecodeErrorZ() { CResult_DirectionalChannelInfoDecodeErrorZ_free(self); }
2903         CResult_DirectionalChannelInfoDecodeErrorZ& operator=(CResult_DirectionalChannelInfoDecodeErrorZ&& o) { CResult_DirectionalChannelInfoDecodeErrorZ_free(self); self = o.self; memset(&o, 0, sizeof(CResult_DirectionalChannelInfoDecodeErrorZ)); return *this; }
2904         LDKCResult_DirectionalChannelInfoDecodeErrorZ* operator &() { return &self; }
2905         LDKCResult_DirectionalChannelInfoDecodeErrorZ* operator ->() { return &self; }
2906         const LDKCResult_DirectionalChannelInfoDecodeErrorZ* operator &() const { return &self; }
2907         const LDKCResult_DirectionalChannelInfoDecodeErrorZ* operator ->() const { return &self; }
2908 };
2909 class C2Tuple_u32TxOutZ {
2910 private:
2911         LDKC2Tuple_u32TxOutZ self;
2912 public:
2913         C2Tuple_u32TxOutZ(const C2Tuple_u32TxOutZ&) = delete;
2914         C2Tuple_u32TxOutZ(C2Tuple_u32TxOutZ&& o) : self(o.self) { memset(&o, 0, sizeof(C2Tuple_u32TxOutZ)); }
2915         C2Tuple_u32TxOutZ(LDKC2Tuple_u32TxOutZ&& m_self) : self(m_self) { memset(&m_self, 0, sizeof(LDKC2Tuple_u32TxOutZ)); }
2916         operator LDKC2Tuple_u32TxOutZ() && { LDKC2Tuple_u32TxOutZ res = self; memset(&self, 0, sizeof(LDKC2Tuple_u32TxOutZ)); return res; }
2917         ~C2Tuple_u32TxOutZ() { C2Tuple_u32TxOutZ_free(self); }
2918         C2Tuple_u32TxOutZ& operator=(C2Tuple_u32TxOutZ&& o) { C2Tuple_u32TxOutZ_free(self); self = o.self; memset(&o, 0, sizeof(C2Tuple_u32TxOutZ)); return *this; }
2919         LDKC2Tuple_u32TxOutZ* operator &() { return &self; }
2920         LDKC2Tuple_u32TxOutZ* operator ->() { return &self; }
2921         const LDKC2Tuple_u32TxOutZ* operator &() const { return &self; }
2922         const LDKC2Tuple_u32TxOutZ* operator ->() const { return &self; }
2923 };
2924 class CResult_UpdateFailHTLCDecodeErrorZ {
2925 private:
2926         LDKCResult_UpdateFailHTLCDecodeErrorZ self;
2927 public:
2928         CResult_UpdateFailHTLCDecodeErrorZ(const CResult_UpdateFailHTLCDecodeErrorZ&) = delete;
2929         CResult_UpdateFailHTLCDecodeErrorZ(CResult_UpdateFailHTLCDecodeErrorZ&& o) : self(o.self) { memset(&o, 0, sizeof(CResult_UpdateFailHTLCDecodeErrorZ)); }
2930         CResult_UpdateFailHTLCDecodeErrorZ(LDKCResult_UpdateFailHTLCDecodeErrorZ&& m_self) : self(m_self) { memset(&m_self, 0, sizeof(LDKCResult_UpdateFailHTLCDecodeErrorZ)); }
2931         operator LDKCResult_UpdateFailHTLCDecodeErrorZ() && { LDKCResult_UpdateFailHTLCDecodeErrorZ res = self; memset(&self, 0, sizeof(LDKCResult_UpdateFailHTLCDecodeErrorZ)); return res; }
2932         ~CResult_UpdateFailHTLCDecodeErrorZ() { CResult_UpdateFailHTLCDecodeErrorZ_free(self); }
2933         CResult_UpdateFailHTLCDecodeErrorZ& operator=(CResult_UpdateFailHTLCDecodeErrorZ&& o) { CResult_UpdateFailHTLCDecodeErrorZ_free(self); self = o.self; memset(&o, 0, sizeof(CResult_UpdateFailHTLCDecodeErrorZ)); return *this; }
2934         LDKCResult_UpdateFailHTLCDecodeErrorZ* operator &() { return &self; }
2935         LDKCResult_UpdateFailHTLCDecodeErrorZ* operator ->() { return &self; }
2936         const LDKCResult_UpdateFailHTLCDecodeErrorZ* operator &() const { return &self; }
2937         const LDKCResult_UpdateFailHTLCDecodeErrorZ* operator ->() const { return &self; }
2938 };
2939 class CResult_ChannelConfigDecodeErrorZ {
2940 private:
2941         LDKCResult_ChannelConfigDecodeErrorZ self;
2942 public:
2943         CResult_ChannelConfigDecodeErrorZ(const CResult_ChannelConfigDecodeErrorZ&) = delete;
2944         CResult_ChannelConfigDecodeErrorZ(CResult_ChannelConfigDecodeErrorZ&& o) : self(o.self) { memset(&o, 0, sizeof(CResult_ChannelConfigDecodeErrorZ)); }
2945         CResult_ChannelConfigDecodeErrorZ(LDKCResult_ChannelConfigDecodeErrorZ&& m_self) : self(m_self) { memset(&m_self, 0, sizeof(LDKCResult_ChannelConfigDecodeErrorZ)); }
2946         operator LDKCResult_ChannelConfigDecodeErrorZ() && { LDKCResult_ChannelConfigDecodeErrorZ res = self; memset(&self, 0, sizeof(LDKCResult_ChannelConfigDecodeErrorZ)); return res; }
2947         ~CResult_ChannelConfigDecodeErrorZ() { CResult_ChannelConfigDecodeErrorZ_free(self); }
2948         CResult_ChannelConfigDecodeErrorZ& operator=(CResult_ChannelConfigDecodeErrorZ&& o) { CResult_ChannelConfigDecodeErrorZ_free(self); self = o.self; memset(&o, 0, sizeof(CResult_ChannelConfigDecodeErrorZ)); return *this; }
2949         LDKCResult_ChannelConfigDecodeErrorZ* operator &() { return &self; }
2950         LDKCResult_ChannelConfigDecodeErrorZ* operator ->() { return &self; }
2951         const LDKCResult_ChannelConfigDecodeErrorZ* operator &() const { return &self; }
2952         const LDKCResult_ChannelConfigDecodeErrorZ* operator ->() const { return &self; }
2953 };
2954 class CResult_RevokeAndACKDecodeErrorZ {
2955 private:
2956         LDKCResult_RevokeAndACKDecodeErrorZ self;
2957 public:
2958         CResult_RevokeAndACKDecodeErrorZ(const CResult_RevokeAndACKDecodeErrorZ&) = delete;
2959         CResult_RevokeAndACKDecodeErrorZ(CResult_RevokeAndACKDecodeErrorZ&& o) : self(o.self) { memset(&o, 0, sizeof(CResult_RevokeAndACKDecodeErrorZ)); }
2960         CResult_RevokeAndACKDecodeErrorZ(LDKCResult_RevokeAndACKDecodeErrorZ&& m_self) : self(m_self) { memset(&m_self, 0, sizeof(LDKCResult_RevokeAndACKDecodeErrorZ)); }
2961         operator LDKCResult_RevokeAndACKDecodeErrorZ() && { LDKCResult_RevokeAndACKDecodeErrorZ res = self; memset(&self, 0, sizeof(LDKCResult_RevokeAndACKDecodeErrorZ)); return res; }
2962         ~CResult_RevokeAndACKDecodeErrorZ() { CResult_RevokeAndACKDecodeErrorZ_free(self); }
2963         CResult_RevokeAndACKDecodeErrorZ& operator=(CResult_RevokeAndACKDecodeErrorZ&& o) { CResult_RevokeAndACKDecodeErrorZ_free(self); self = o.self; memset(&o, 0, sizeof(CResult_RevokeAndACKDecodeErrorZ)); return *this; }
2964         LDKCResult_RevokeAndACKDecodeErrorZ* operator &() { return &self; }
2965         LDKCResult_RevokeAndACKDecodeErrorZ* operator ->() { return &self; }
2966         const LDKCResult_RevokeAndACKDecodeErrorZ* operator &() const { return &self; }
2967         const LDKCResult_RevokeAndACKDecodeErrorZ* operator ->() const { return &self; }
2968 };
2969 class CResult_SpendableOutputDescriptorDecodeErrorZ {
2970 private:
2971         LDKCResult_SpendableOutputDescriptorDecodeErrorZ self;
2972 public:
2973         CResult_SpendableOutputDescriptorDecodeErrorZ(const CResult_SpendableOutputDescriptorDecodeErrorZ&) = delete;
2974         CResult_SpendableOutputDescriptorDecodeErrorZ(CResult_SpendableOutputDescriptorDecodeErrorZ&& o) : self(o.self) { memset(&o, 0, sizeof(CResult_SpendableOutputDescriptorDecodeErrorZ)); }
2975         CResult_SpendableOutputDescriptorDecodeErrorZ(LDKCResult_SpendableOutputDescriptorDecodeErrorZ&& m_self) : self(m_self) { memset(&m_self, 0, sizeof(LDKCResult_SpendableOutputDescriptorDecodeErrorZ)); }
2976         operator LDKCResult_SpendableOutputDescriptorDecodeErrorZ() && { LDKCResult_SpendableOutputDescriptorDecodeErrorZ res = self; memset(&self, 0, sizeof(LDKCResult_SpendableOutputDescriptorDecodeErrorZ)); return res; }
2977         ~CResult_SpendableOutputDescriptorDecodeErrorZ() { CResult_SpendableOutputDescriptorDecodeErrorZ_free(self); }
2978         CResult_SpendableOutputDescriptorDecodeErrorZ& operator=(CResult_SpendableOutputDescriptorDecodeErrorZ&& o) { CResult_SpendableOutputDescriptorDecodeErrorZ_free(self); self = o.self; memset(&o, 0, sizeof(CResult_SpendableOutputDescriptorDecodeErrorZ)); return *this; }
2979         LDKCResult_SpendableOutputDescriptorDecodeErrorZ* operator &() { return &self; }
2980         LDKCResult_SpendableOutputDescriptorDecodeErrorZ* operator ->() { return &self; }
2981         const LDKCResult_SpendableOutputDescriptorDecodeErrorZ* operator &() const { return &self; }
2982         const LDKCResult_SpendableOutputDescriptorDecodeErrorZ* operator ->() const { return &self; }
2983 };
2984 class CResult_UnsignedChannelUpdateDecodeErrorZ {
2985 private:
2986         LDKCResult_UnsignedChannelUpdateDecodeErrorZ self;
2987 public:
2988         CResult_UnsignedChannelUpdateDecodeErrorZ(const CResult_UnsignedChannelUpdateDecodeErrorZ&) = delete;
2989         CResult_UnsignedChannelUpdateDecodeErrorZ(CResult_UnsignedChannelUpdateDecodeErrorZ&& o) : self(o.self) { memset(&o, 0, sizeof(CResult_UnsignedChannelUpdateDecodeErrorZ)); }
2990         CResult_UnsignedChannelUpdateDecodeErrorZ(LDKCResult_UnsignedChannelUpdateDecodeErrorZ&& m_self) : self(m_self) { memset(&m_self, 0, sizeof(LDKCResult_UnsignedChannelUpdateDecodeErrorZ)); }
2991         operator LDKCResult_UnsignedChannelUpdateDecodeErrorZ() && { LDKCResult_UnsignedChannelUpdateDecodeErrorZ res = self; memset(&self, 0, sizeof(LDKCResult_UnsignedChannelUpdateDecodeErrorZ)); return res; }
2992         ~CResult_UnsignedChannelUpdateDecodeErrorZ() { CResult_UnsignedChannelUpdateDecodeErrorZ_free(self); }
2993         CResult_UnsignedChannelUpdateDecodeErrorZ& operator=(CResult_UnsignedChannelUpdateDecodeErrorZ&& o) { CResult_UnsignedChannelUpdateDecodeErrorZ_free(self); self = o.self; memset(&o, 0, sizeof(CResult_UnsignedChannelUpdateDecodeErrorZ)); return *this; }
2994         LDKCResult_UnsignedChannelUpdateDecodeErrorZ* operator &() { return &self; }
2995         LDKCResult_UnsignedChannelUpdateDecodeErrorZ* operator ->() { return &self; }
2996         const LDKCResult_UnsignedChannelUpdateDecodeErrorZ* operator &() const { return &self; }
2997         const LDKCResult_UnsignedChannelUpdateDecodeErrorZ* operator ->() const { return &self; }
2998 };
2999 class CResult_ShutdownDecodeErrorZ {
3000 private:
3001         LDKCResult_ShutdownDecodeErrorZ self;
3002 public:
3003         CResult_ShutdownDecodeErrorZ(const CResult_ShutdownDecodeErrorZ&) = delete;
3004         CResult_ShutdownDecodeErrorZ(CResult_ShutdownDecodeErrorZ&& o) : self(o.self) { memset(&o, 0, sizeof(CResult_ShutdownDecodeErrorZ)); }
3005         CResult_ShutdownDecodeErrorZ(LDKCResult_ShutdownDecodeErrorZ&& m_self) : self(m_self) { memset(&m_self, 0, sizeof(LDKCResult_ShutdownDecodeErrorZ)); }
3006         operator LDKCResult_ShutdownDecodeErrorZ() && { LDKCResult_ShutdownDecodeErrorZ res = self; memset(&self, 0, sizeof(LDKCResult_ShutdownDecodeErrorZ)); return res; }
3007         ~CResult_ShutdownDecodeErrorZ() { CResult_ShutdownDecodeErrorZ_free(self); }
3008         CResult_ShutdownDecodeErrorZ& operator=(CResult_ShutdownDecodeErrorZ&& o) { CResult_ShutdownDecodeErrorZ_free(self); self = o.self; memset(&o, 0, sizeof(CResult_ShutdownDecodeErrorZ)); return *this; }
3009         LDKCResult_ShutdownDecodeErrorZ* operator &() { return &self; }
3010         LDKCResult_ShutdownDecodeErrorZ* operator ->() { return &self; }
3011         const LDKCResult_ShutdownDecodeErrorZ* operator &() const { return &self; }
3012         const LDKCResult_ShutdownDecodeErrorZ* operator ->() const { return &self; }
3013 };
3014 class CVec_EventZ {
3015 private:
3016         LDKCVec_EventZ self;
3017 public:
3018         CVec_EventZ(const CVec_EventZ&) = delete;
3019         CVec_EventZ(CVec_EventZ&& o) : self(o.self) { memset(&o, 0, sizeof(CVec_EventZ)); }
3020         CVec_EventZ(LDKCVec_EventZ&& m_self) : self(m_self) { memset(&m_self, 0, sizeof(LDKCVec_EventZ)); }
3021         operator LDKCVec_EventZ() && { LDKCVec_EventZ res = self; memset(&self, 0, sizeof(LDKCVec_EventZ)); return res; }
3022         ~CVec_EventZ() { CVec_EventZ_free(self); }
3023         CVec_EventZ& operator=(CVec_EventZ&& o) { CVec_EventZ_free(self); self = o.self; memset(&o, 0, sizeof(CVec_EventZ)); return *this; }
3024         LDKCVec_EventZ* operator &() { return &self; }
3025         LDKCVec_EventZ* operator ->() { return &self; }
3026         const LDKCVec_EventZ* operator &() const { return &self; }
3027         const LDKCVec_EventZ* operator ->() const { return &self; }
3028 };
3029 class CVec_MonitorEventZ {
3030 private:
3031         LDKCVec_MonitorEventZ self;
3032 public:
3033         CVec_MonitorEventZ(const CVec_MonitorEventZ&) = delete;
3034         CVec_MonitorEventZ(CVec_MonitorEventZ&& o) : self(o.self) { memset(&o, 0, sizeof(CVec_MonitorEventZ)); }
3035         CVec_MonitorEventZ(LDKCVec_MonitorEventZ&& m_self) : self(m_self) { memset(&m_self, 0, sizeof(LDKCVec_MonitorEventZ)); }
3036         operator LDKCVec_MonitorEventZ() && { LDKCVec_MonitorEventZ res = self; memset(&self, 0, sizeof(LDKCVec_MonitorEventZ)); return res; }
3037         ~CVec_MonitorEventZ() { CVec_MonitorEventZ_free(self); }
3038         CVec_MonitorEventZ& operator=(CVec_MonitorEventZ&& o) { CVec_MonitorEventZ_free(self); self = o.self; memset(&o, 0, sizeof(CVec_MonitorEventZ)); return *this; }
3039         LDKCVec_MonitorEventZ* operator &() { return &self; }
3040         LDKCVec_MonitorEventZ* operator ->() { return &self; }
3041         const LDKCVec_MonitorEventZ* operator &() const { return &self; }
3042         const LDKCVec_MonitorEventZ* operator ->() const { return &self; }
3043 };
3044 class CResult_NoneChannelMonitorUpdateErrZ {
3045 private:
3046         LDKCResult_NoneChannelMonitorUpdateErrZ self;
3047 public:
3048         CResult_NoneChannelMonitorUpdateErrZ(const CResult_NoneChannelMonitorUpdateErrZ&) = delete;
3049         CResult_NoneChannelMonitorUpdateErrZ(CResult_NoneChannelMonitorUpdateErrZ&& o) : self(o.self) { memset(&o, 0, sizeof(CResult_NoneChannelMonitorUpdateErrZ)); }
3050         CResult_NoneChannelMonitorUpdateErrZ(LDKCResult_NoneChannelMonitorUpdateErrZ&& m_self) : self(m_self) { memset(&m_self, 0, sizeof(LDKCResult_NoneChannelMonitorUpdateErrZ)); }
3051         operator LDKCResult_NoneChannelMonitorUpdateErrZ() && { LDKCResult_NoneChannelMonitorUpdateErrZ res = self; memset(&self, 0, sizeof(LDKCResult_NoneChannelMonitorUpdateErrZ)); return res; }
3052         ~CResult_NoneChannelMonitorUpdateErrZ() { CResult_NoneChannelMonitorUpdateErrZ_free(self); }
3053         CResult_NoneChannelMonitorUpdateErrZ& operator=(CResult_NoneChannelMonitorUpdateErrZ&& o) { CResult_NoneChannelMonitorUpdateErrZ_free(self); self = o.self; memset(&o, 0, sizeof(CResult_NoneChannelMonitorUpdateErrZ)); return *this; }
3054         LDKCResult_NoneChannelMonitorUpdateErrZ* operator &() { return &self; }
3055         LDKCResult_NoneChannelMonitorUpdateErrZ* operator ->() { return &self; }
3056         const LDKCResult_NoneChannelMonitorUpdateErrZ* operator &() const { return &self; }
3057         const LDKCResult_NoneChannelMonitorUpdateErrZ* operator ->() const { return &self; }
3058 };
3059 class CResult_PublicKeyErrorZ {
3060 private:
3061         LDKCResult_PublicKeyErrorZ self;
3062 public:
3063         CResult_PublicKeyErrorZ(const CResult_PublicKeyErrorZ&) = delete;
3064         CResult_PublicKeyErrorZ(CResult_PublicKeyErrorZ&& o) : self(o.self) { memset(&o, 0, sizeof(CResult_PublicKeyErrorZ)); }
3065         CResult_PublicKeyErrorZ(LDKCResult_PublicKeyErrorZ&& m_self) : self(m_self) { memset(&m_self, 0, sizeof(LDKCResult_PublicKeyErrorZ)); }
3066         operator LDKCResult_PublicKeyErrorZ() && { LDKCResult_PublicKeyErrorZ res = self; memset(&self, 0, sizeof(LDKCResult_PublicKeyErrorZ)); return res; }
3067         ~CResult_PublicKeyErrorZ() { CResult_PublicKeyErrorZ_free(self); }
3068         CResult_PublicKeyErrorZ& operator=(CResult_PublicKeyErrorZ&& o) { CResult_PublicKeyErrorZ_free(self); self = o.self; memset(&o, 0, sizeof(CResult_PublicKeyErrorZ)); return *this; }
3069         LDKCResult_PublicKeyErrorZ* operator &() { return &self; }
3070         LDKCResult_PublicKeyErrorZ* operator ->() { return &self; }
3071         const LDKCResult_PublicKeyErrorZ* operator &() const { return &self; }
3072         const LDKCResult_PublicKeyErrorZ* operator ->() const { return &self; }
3073 };
3074 class C3Tuple_ChannelAnnouncementChannelUpdateChannelUpdateZ {
3075 private:
3076         LDKC3Tuple_ChannelAnnouncementChannelUpdateChannelUpdateZ self;
3077 public:
3078         C3Tuple_ChannelAnnouncementChannelUpdateChannelUpdateZ(const C3Tuple_ChannelAnnouncementChannelUpdateChannelUpdateZ&) = delete;
3079         C3Tuple_ChannelAnnouncementChannelUpdateChannelUpdateZ(C3Tuple_ChannelAnnouncementChannelUpdateChannelUpdateZ&& o) : self(o.self) { memset(&o, 0, sizeof(C3Tuple_ChannelAnnouncementChannelUpdateChannelUpdateZ)); }
3080         C3Tuple_ChannelAnnouncementChannelUpdateChannelUpdateZ(LDKC3Tuple_ChannelAnnouncementChannelUpdateChannelUpdateZ&& m_self) : self(m_self) { memset(&m_self, 0, sizeof(LDKC3Tuple_ChannelAnnouncementChannelUpdateChannelUpdateZ)); }
3081         operator LDKC3Tuple_ChannelAnnouncementChannelUpdateChannelUpdateZ() && { LDKC3Tuple_ChannelAnnouncementChannelUpdateChannelUpdateZ res = self; memset(&self, 0, sizeof(LDKC3Tuple_ChannelAnnouncementChannelUpdateChannelUpdateZ)); return res; }
3082         ~C3Tuple_ChannelAnnouncementChannelUpdateChannelUpdateZ() { C3Tuple_ChannelAnnouncementChannelUpdateChannelUpdateZ_free(self); }
3083         C3Tuple_ChannelAnnouncementChannelUpdateChannelUpdateZ& operator=(C3Tuple_ChannelAnnouncementChannelUpdateChannelUpdateZ&& o) { C3Tuple_ChannelAnnouncementChannelUpdateChannelUpdateZ_free(self); self = o.self; memset(&o, 0, sizeof(C3Tuple_ChannelAnnouncementChannelUpdateChannelUpdateZ)); return *this; }
3084         LDKC3Tuple_ChannelAnnouncementChannelUpdateChannelUpdateZ* operator &() { return &self; }
3085         LDKC3Tuple_ChannelAnnouncementChannelUpdateChannelUpdateZ* operator ->() { return &self; }
3086         const LDKC3Tuple_ChannelAnnouncementChannelUpdateChannelUpdateZ* operator &() const { return &self; }
3087         const LDKC3Tuple_ChannelAnnouncementChannelUpdateChannelUpdateZ* operator ->() const { return &self; }
3088 };
3089 class CResult_boolPeerHandleErrorZ {
3090 private:
3091         LDKCResult_boolPeerHandleErrorZ self;
3092 public:
3093         CResult_boolPeerHandleErrorZ(const CResult_boolPeerHandleErrorZ&) = delete;
3094         CResult_boolPeerHandleErrorZ(CResult_boolPeerHandleErrorZ&& o) : self(o.self) { memset(&o, 0, sizeof(CResult_boolPeerHandleErrorZ)); }
3095         CResult_boolPeerHandleErrorZ(LDKCResult_boolPeerHandleErrorZ&& m_self) : self(m_self) { memset(&m_self, 0, sizeof(LDKCResult_boolPeerHandleErrorZ)); }
3096         operator LDKCResult_boolPeerHandleErrorZ() && { LDKCResult_boolPeerHandleErrorZ res = self; memset(&self, 0, sizeof(LDKCResult_boolPeerHandleErrorZ)); return res; }
3097         ~CResult_boolPeerHandleErrorZ() { CResult_boolPeerHandleErrorZ_free(self); }
3098         CResult_boolPeerHandleErrorZ& operator=(CResult_boolPeerHandleErrorZ&& o) { CResult_boolPeerHandleErrorZ_free(self); self = o.self; memset(&o, 0, sizeof(CResult_boolPeerHandleErrorZ)); return *this; }
3099         LDKCResult_boolPeerHandleErrorZ* operator &() { return &self; }
3100         LDKCResult_boolPeerHandleErrorZ* operator ->() { return &self; }
3101         const LDKCResult_boolPeerHandleErrorZ* operator &() const { return &self; }
3102         const LDKCResult_boolPeerHandleErrorZ* operator ->() const { return &self; }
3103 };
3104 class CResult_ChannelUpdateDecodeErrorZ {
3105 private:
3106         LDKCResult_ChannelUpdateDecodeErrorZ self;
3107 public:
3108         CResult_ChannelUpdateDecodeErrorZ(const CResult_ChannelUpdateDecodeErrorZ&) = delete;
3109         CResult_ChannelUpdateDecodeErrorZ(CResult_ChannelUpdateDecodeErrorZ&& o) : self(o.self) { memset(&o, 0, sizeof(CResult_ChannelUpdateDecodeErrorZ)); }
3110         CResult_ChannelUpdateDecodeErrorZ(LDKCResult_ChannelUpdateDecodeErrorZ&& m_self) : self(m_self) { memset(&m_self, 0, sizeof(LDKCResult_ChannelUpdateDecodeErrorZ)); }
3111         operator LDKCResult_ChannelUpdateDecodeErrorZ() && { LDKCResult_ChannelUpdateDecodeErrorZ res = self; memset(&self, 0, sizeof(LDKCResult_ChannelUpdateDecodeErrorZ)); return res; }
3112         ~CResult_ChannelUpdateDecodeErrorZ() { CResult_ChannelUpdateDecodeErrorZ_free(self); }
3113         CResult_ChannelUpdateDecodeErrorZ& operator=(CResult_ChannelUpdateDecodeErrorZ&& o) { CResult_ChannelUpdateDecodeErrorZ_free(self); self = o.self; memset(&o, 0, sizeof(CResult_ChannelUpdateDecodeErrorZ)); return *this; }
3114         LDKCResult_ChannelUpdateDecodeErrorZ* operator &() { return &self; }
3115         LDKCResult_ChannelUpdateDecodeErrorZ* operator ->() { return &self; }
3116         const LDKCResult_ChannelUpdateDecodeErrorZ* operator &() const { return &self; }
3117         const LDKCResult_ChannelUpdateDecodeErrorZ* operator ->() const { return &self; }
3118 };
3119 class CVec_APIErrorZ {
3120 private:
3121         LDKCVec_APIErrorZ self;
3122 public:
3123         CVec_APIErrorZ(const CVec_APIErrorZ&) = delete;
3124         CVec_APIErrorZ(CVec_APIErrorZ&& o) : self(o.self) { memset(&o, 0, sizeof(CVec_APIErrorZ)); }
3125         CVec_APIErrorZ(LDKCVec_APIErrorZ&& m_self) : self(m_self) { memset(&m_self, 0, sizeof(LDKCVec_APIErrorZ)); }
3126         operator LDKCVec_APIErrorZ() && { LDKCVec_APIErrorZ res = self; memset(&self, 0, sizeof(LDKCVec_APIErrorZ)); return res; }
3127         ~CVec_APIErrorZ() { CVec_APIErrorZ_free(self); }
3128         CVec_APIErrorZ& operator=(CVec_APIErrorZ&& o) { CVec_APIErrorZ_free(self); self = o.self; memset(&o, 0, sizeof(CVec_APIErrorZ)); return *this; }
3129         LDKCVec_APIErrorZ* operator &() { return &self; }
3130         LDKCVec_APIErrorZ* operator ->() { return &self; }
3131         const LDKCVec_APIErrorZ* operator &() const { return &self; }
3132         const LDKCVec_APIErrorZ* operator ->() const { return &self; }
3133 };
3134 class CVec_UpdateFulfillHTLCZ {
3135 private:
3136         LDKCVec_UpdateFulfillHTLCZ self;
3137 public:
3138         CVec_UpdateFulfillHTLCZ(const CVec_UpdateFulfillHTLCZ&) = delete;
3139         CVec_UpdateFulfillHTLCZ(CVec_UpdateFulfillHTLCZ&& o) : self(o.self) { memset(&o, 0, sizeof(CVec_UpdateFulfillHTLCZ)); }
3140         CVec_UpdateFulfillHTLCZ(LDKCVec_UpdateFulfillHTLCZ&& m_self) : self(m_self) { memset(&m_self, 0, sizeof(LDKCVec_UpdateFulfillHTLCZ)); }
3141         operator LDKCVec_UpdateFulfillHTLCZ() && { LDKCVec_UpdateFulfillHTLCZ res = self; memset(&self, 0, sizeof(LDKCVec_UpdateFulfillHTLCZ)); return res; }
3142         ~CVec_UpdateFulfillHTLCZ() { CVec_UpdateFulfillHTLCZ_free(self); }
3143         CVec_UpdateFulfillHTLCZ& operator=(CVec_UpdateFulfillHTLCZ&& o) { CVec_UpdateFulfillHTLCZ_free(self); self = o.self; memset(&o, 0, sizeof(CVec_UpdateFulfillHTLCZ)); return *this; }
3144         LDKCVec_UpdateFulfillHTLCZ* operator &() { return &self; }
3145         LDKCVec_UpdateFulfillHTLCZ* operator ->() { return &self; }
3146         const LDKCVec_UpdateFulfillHTLCZ* operator &() const { return &self; }
3147         const LDKCVec_UpdateFulfillHTLCZ* operator ->() const { return &self; }
3148 };
3149 class CResult_AnnouncementSignaturesDecodeErrorZ {
3150 private:
3151         LDKCResult_AnnouncementSignaturesDecodeErrorZ self;
3152 public:
3153         CResult_AnnouncementSignaturesDecodeErrorZ(const CResult_AnnouncementSignaturesDecodeErrorZ&) = delete;
3154         CResult_AnnouncementSignaturesDecodeErrorZ(CResult_AnnouncementSignaturesDecodeErrorZ&& o) : self(o.self) { memset(&o, 0, sizeof(CResult_AnnouncementSignaturesDecodeErrorZ)); }
3155         CResult_AnnouncementSignaturesDecodeErrorZ(LDKCResult_AnnouncementSignaturesDecodeErrorZ&& m_self) : self(m_self) { memset(&m_self, 0, sizeof(LDKCResult_AnnouncementSignaturesDecodeErrorZ)); }
3156         operator LDKCResult_AnnouncementSignaturesDecodeErrorZ() && { LDKCResult_AnnouncementSignaturesDecodeErrorZ res = self; memset(&self, 0, sizeof(LDKCResult_AnnouncementSignaturesDecodeErrorZ)); return res; }
3157         ~CResult_AnnouncementSignaturesDecodeErrorZ() { CResult_AnnouncementSignaturesDecodeErrorZ_free(self); }
3158         CResult_AnnouncementSignaturesDecodeErrorZ& operator=(CResult_AnnouncementSignaturesDecodeErrorZ&& o) { CResult_AnnouncementSignaturesDecodeErrorZ_free(self); self = o.self; memset(&o, 0, sizeof(CResult_AnnouncementSignaturesDecodeErrorZ)); return *this; }
3159         LDKCResult_AnnouncementSignaturesDecodeErrorZ* operator &() { return &self; }
3160         LDKCResult_AnnouncementSignaturesDecodeErrorZ* operator ->() { return &self; }
3161         const LDKCResult_AnnouncementSignaturesDecodeErrorZ* operator &() const { return &self; }
3162         const LDKCResult_AnnouncementSignaturesDecodeErrorZ* operator ->() const { return &self; }
3163 };
3164 class CResult_UpdateFulfillHTLCDecodeErrorZ {
3165 private:
3166         LDKCResult_UpdateFulfillHTLCDecodeErrorZ self;
3167 public:
3168         CResult_UpdateFulfillHTLCDecodeErrorZ(const CResult_UpdateFulfillHTLCDecodeErrorZ&) = delete;
3169         CResult_UpdateFulfillHTLCDecodeErrorZ(CResult_UpdateFulfillHTLCDecodeErrorZ&& o) : self(o.self) { memset(&o, 0, sizeof(CResult_UpdateFulfillHTLCDecodeErrorZ)); }
3170         CResult_UpdateFulfillHTLCDecodeErrorZ(LDKCResult_UpdateFulfillHTLCDecodeErrorZ&& m_self) : self(m_self) { memset(&m_self, 0, sizeof(LDKCResult_UpdateFulfillHTLCDecodeErrorZ)); }
3171         operator LDKCResult_UpdateFulfillHTLCDecodeErrorZ() && { LDKCResult_UpdateFulfillHTLCDecodeErrorZ res = self; memset(&self, 0, sizeof(LDKCResult_UpdateFulfillHTLCDecodeErrorZ)); return res; }
3172         ~CResult_UpdateFulfillHTLCDecodeErrorZ() { CResult_UpdateFulfillHTLCDecodeErrorZ_free(self); }
3173         CResult_UpdateFulfillHTLCDecodeErrorZ& operator=(CResult_UpdateFulfillHTLCDecodeErrorZ&& o) { CResult_UpdateFulfillHTLCDecodeErrorZ_free(self); self = o.self; memset(&o, 0, sizeof(CResult_UpdateFulfillHTLCDecodeErrorZ)); return *this; }
3174         LDKCResult_UpdateFulfillHTLCDecodeErrorZ* operator &() { return &self; }
3175         LDKCResult_UpdateFulfillHTLCDecodeErrorZ* operator ->() { return &self; }
3176         const LDKCResult_UpdateFulfillHTLCDecodeErrorZ* operator &() const { return &self; }
3177         const LDKCResult_UpdateFulfillHTLCDecodeErrorZ* operator ->() const { return &self; }
3178 };
3179 class CResult_NodeFeaturesDecodeErrorZ {
3180 private:
3181         LDKCResult_NodeFeaturesDecodeErrorZ self;
3182 public:
3183         CResult_NodeFeaturesDecodeErrorZ(const CResult_NodeFeaturesDecodeErrorZ&) = delete;
3184         CResult_NodeFeaturesDecodeErrorZ(CResult_NodeFeaturesDecodeErrorZ&& o) : self(o.self) { memset(&o, 0, sizeof(CResult_NodeFeaturesDecodeErrorZ)); }
3185         CResult_NodeFeaturesDecodeErrorZ(LDKCResult_NodeFeaturesDecodeErrorZ&& m_self) : self(m_self) { memset(&m_self, 0, sizeof(LDKCResult_NodeFeaturesDecodeErrorZ)); }
3186         operator LDKCResult_NodeFeaturesDecodeErrorZ() && { LDKCResult_NodeFeaturesDecodeErrorZ res = self; memset(&self, 0, sizeof(LDKCResult_NodeFeaturesDecodeErrorZ)); return res; }
3187         ~CResult_NodeFeaturesDecodeErrorZ() { CResult_NodeFeaturesDecodeErrorZ_free(self); }
3188         CResult_NodeFeaturesDecodeErrorZ& operator=(CResult_NodeFeaturesDecodeErrorZ&& o) { CResult_NodeFeaturesDecodeErrorZ_free(self); self = o.self; memset(&o, 0, sizeof(CResult_NodeFeaturesDecodeErrorZ)); return *this; }
3189         LDKCResult_NodeFeaturesDecodeErrorZ* operator &() { return &self; }
3190         LDKCResult_NodeFeaturesDecodeErrorZ* operator ->() { return &self; }
3191         const LDKCResult_NodeFeaturesDecodeErrorZ* operator &() const { return &self; }
3192         const LDKCResult_NodeFeaturesDecodeErrorZ* operator ->() const { return &self; }
3193 };
3194 class CResult_InMemorySignerDecodeErrorZ {
3195 private:
3196         LDKCResult_InMemorySignerDecodeErrorZ self;
3197 public:
3198         CResult_InMemorySignerDecodeErrorZ(const CResult_InMemorySignerDecodeErrorZ&) = delete;
3199         CResult_InMemorySignerDecodeErrorZ(CResult_InMemorySignerDecodeErrorZ&& o) : self(o.self) { memset(&o, 0, sizeof(CResult_InMemorySignerDecodeErrorZ)); }
3200         CResult_InMemorySignerDecodeErrorZ(LDKCResult_InMemorySignerDecodeErrorZ&& m_self) : self(m_self) { memset(&m_self, 0, sizeof(LDKCResult_InMemorySignerDecodeErrorZ)); }
3201         operator LDKCResult_InMemorySignerDecodeErrorZ() && { LDKCResult_InMemorySignerDecodeErrorZ res = self; memset(&self, 0, sizeof(LDKCResult_InMemorySignerDecodeErrorZ)); return res; }
3202         ~CResult_InMemorySignerDecodeErrorZ() { CResult_InMemorySignerDecodeErrorZ_free(self); }
3203         CResult_InMemorySignerDecodeErrorZ& operator=(CResult_InMemorySignerDecodeErrorZ&& o) { CResult_InMemorySignerDecodeErrorZ_free(self); self = o.self; memset(&o, 0, sizeof(CResult_InMemorySignerDecodeErrorZ)); return *this; }
3204         LDKCResult_InMemorySignerDecodeErrorZ* operator &() { return &self; }
3205         LDKCResult_InMemorySignerDecodeErrorZ* operator ->() { return &self; }
3206         const LDKCResult_InMemorySignerDecodeErrorZ* operator &() const { return &self; }
3207         const LDKCResult_InMemorySignerDecodeErrorZ* operator ->() const { return &self; }
3208 };
3209 class CResult_ReplyShortChannelIdsEndDecodeErrorZ {
3210 private:
3211         LDKCResult_ReplyShortChannelIdsEndDecodeErrorZ self;
3212 public:
3213         CResult_ReplyShortChannelIdsEndDecodeErrorZ(const CResult_ReplyShortChannelIdsEndDecodeErrorZ&) = delete;
3214         CResult_ReplyShortChannelIdsEndDecodeErrorZ(CResult_ReplyShortChannelIdsEndDecodeErrorZ&& o) : self(o.self) { memset(&o, 0, sizeof(CResult_ReplyShortChannelIdsEndDecodeErrorZ)); }
3215         CResult_ReplyShortChannelIdsEndDecodeErrorZ(LDKCResult_ReplyShortChannelIdsEndDecodeErrorZ&& m_self) : self(m_self) { memset(&m_self, 0, sizeof(LDKCResult_ReplyShortChannelIdsEndDecodeErrorZ)); }
3216         operator LDKCResult_ReplyShortChannelIdsEndDecodeErrorZ() && { LDKCResult_ReplyShortChannelIdsEndDecodeErrorZ res = self; memset(&self, 0, sizeof(LDKCResult_ReplyShortChannelIdsEndDecodeErrorZ)); return res; }
3217         ~CResult_ReplyShortChannelIdsEndDecodeErrorZ() { CResult_ReplyShortChannelIdsEndDecodeErrorZ_free(self); }
3218         CResult_ReplyShortChannelIdsEndDecodeErrorZ& operator=(CResult_ReplyShortChannelIdsEndDecodeErrorZ&& o) { CResult_ReplyShortChannelIdsEndDecodeErrorZ_free(self); self = o.self; memset(&o, 0, sizeof(CResult_ReplyShortChannelIdsEndDecodeErrorZ)); return *this; }
3219         LDKCResult_ReplyShortChannelIdsEndDecodeErrorZ* operator &() { return &self; }
3220         LDKCResult_ReplyShortChannelIdsEndDecodeErrorZ* operator ->() { return &self; }
3221         const LDKCResult_ReplyShortChannelIdsEndDecodeErrorZ* operator &() const { return &self; }
3222         const LDKCResult_ReplyShortChannelIdsEndDecodeErrorZ* operator ->() const { return &self; }
3223 };
3224 class CResult_CResult_NetAddressu8ZDecodeErrorZ {
3225 private:
3226         LDKCResult_CResult_NetAddressu8ZDecodeErrorZ self;
3227 public:
3228         CResult_CResult_NetAddressu8ZDecodeErrorZ(const CResult_CResult_NetAddressu8ZDecodeErrorZ&) = delete;
3229         CResult_CResult_NetAddressu8ZDecodeErrorZ(CResult_CResult_NetAddressu8ZDecodeErrorZ&& o) : self(o.self) { memset(&o, 0, sizeof(CResult_CResult_NetAddressu8ZDecodeErrorZ)); }
3230         CResult_CResult_NetAddressu8ZDecodeErrorZ(LDKCResult_CResult_NetAddressu8ZDecodeErrorZ&& m_self) : self(m_self) { memset(&m_self, 0, sizeof(LDKCResult_CResult_NetAddressu8ZDecodeErrorZ)); }
3231         operator LDKCResult_CResult_NetAddressu8ZDecodeErrorZ() && { LDKCResult_CResult_NetAddressu8ZDecodeErrorZ res = self; memset(&self, 0, sizeof(LDKCResult_CResult_NetAddressu8ZDecodeErrorZ)); return res; }
3232         ~CResult_CResult_NetAddressu8ZDecodeErrorZ() { CResult_CResult_NetAddressu8ZDecodeErrorZ_free(self); }
3233         CResult_CResult_NetAddressu8ZDecodeErrorZ& operator=(CResult_CResult_NetAddressu8ZDecodeErrorZ&& o) { CResult_CResult_NetAddressu8ZDecodeErrorZ_free(self); self = o.self; memset(&o, 0, sizeof(CResult_CResult_NetAddressu8ZDecodeErrorZ)); return *this; }
3234         LDKCResult_CResult_NetAddressu8ZDecodeErrorZ* operator &() { return &self; }
3235         LDKCResult_CResult_NetAddressu8ZDecodeErrorZ* operator ->() { return &self; }
3236         const LDKCResult_CResult_NetAddressu8ZDecodeErrorZ* operator &() const { return &self; }
3237         const LDKCResult_CResult_NetAddressu8ZDecodeErrorZ* operator ->() const { return &self; }
3238 };
3239 class CResult_C2Tuple_BlockHashChannelMonitorZDecodeErrorZ {
3240 private:
3241         LDKCResult_C2Tuple_BlockHashChannelMonitorZDecodeErrorZ self;
3242 public:
3243         CResult_C2Tuple_BlockHashChannelMonitorZDecodeErrorZ(const CResult_C2Tuple_BlockHashChannelMonitorZDecodeErrorZ&) = delete;
3244         CResult_C2Tuple_BlockHashChannelMonitorZDecodeErrorZ(CResult_C2Tuple_BlockHashChannelMonitorZDecodeErrorZ&& o) : self(o.self) { memset(&o, 0, sizeof(CResult_C2Tuple_BlockHashChannelMonitorZDecodeErrorZ)); }
3245         CResult_C2Tuple_BlockHashChannelMonitorZDecodeErrorZ(LDKCResult_C2Tuple_BlockHashChannelMonitorZDecodeErrorZ&& m_self) : self(m_self) { memset(&m_self, 0, sizeof(LDKCResult_C2Tuple_BlockHashChannelMonitorZDecodeErrorZ)); }
3246         operator LDKCResult_C2Tuple_BlockHashChannelMonitorZDecodeErrorZ() && { LDKCResult_C2Tuple_BlockHashChannelMonitorZDecodeErrorZ res = self; memset(&self, 0, sizeof(LDKCResult_C2Tuple_BlockHashChannelMonitorZDecodeErrorZ)); return res; }
3247         ~CResult_C2Tuple_BlockHashChannelMonitorZDecodeErrorZ() { CResult_C2Tuple_BlockHashChannelMonitorZDecodeErrorZ_free(self); }
3248         CResult_C2Tuple_BlockHashChannelMonitorZDecodeErrorZ& operator=(CResult_C2Tuple_BlockHashChannelMonitorZDecodeErrorZ&& o) { CResult_C2Tuple_BlockHashChannelMonitorZDecodeErrorZ_free(self); self = o.self; memset(&o, 0, sizeof(CResult_C2Tuple_BlockHashChannelMonitorZDecodeErrorZ)); return *this; }
3249         LDKCResult_C2Tuple_BlockHashChannelMonitorZDecodeErrorZ* operator &() { return &self; }
3250         LDKCResult_C2Tuple_BlockHashChannelMonitorZDecodeErrorZ* operator ->() { return &self; }
3251         const LDKCResult_C2Tuple_BlockHashChannelMonitorZDecodeErrorZ* operator &() const { return &self; }
3252         const LDKCResult_C2Tuple_BlockHashChannelMonitorZDecodeErrorZ* operator ->() const { return &self; }
3253 };
3254 class CResult_BuiltCommitmentTransactionDecodeErrorZ {
3255 private:
3256         LDKCResult_BuiltCommitmentTransactionDecodeErrorZ self;
3257 public:
3258         CResult_BuiltCommitmentTransactionDecodeErrorZ(const CResult_BuiltCommitmentTransactionDecodeErrorZ&) = delete;
3259         CResult_BuiltCommitmentTransactionDecodeErrorZ(CResult_BuiltCommitmentTransactionDecodeErrorZ&& o) : self(o.self) { memset(&o, 0, sizeof(CResult_BuiltCommitmentTransactionDecodeErrorZ)); }
3260         CResult_BuiltCommitmentTransactionDecodeErrorZ(LDKCResult_BuiltCommitmentTransactionDecodeErrorZ&& m_self) : self(m_self) { memset(&m_self, 0, sizeof(LDKCResult_BuiltCommitmentTransactionDecodeErrorZ)); }
3261         operator LDKCResult_BuiltCommitmentTransactionDecodeErrorZ() && { LDKCResult_BuiltCommitmentTransactionDecodeErrorZ res = self; memset(&self, 0, sizeof(LDKCResult_BuiltCommitmentTransactionDecodeErrorZ)); return res; }
3262         ~CResult_BuiltCommitmentTransactionDecodeErrorZ() { CResult_BuiltCommitmentTransactionDecodeErrorZ_free(self); }
3263         CResult_BuiltCommitmentTransactionDecodeErrorZ& operator=(CResult_BuiltCommitmentTransactionDecodeErrorZ&& o) { CResult_BuiltCommitmentTransactionDecodeErrorZ_free(self); self = o.self; memset(&o, 0, sizeof(CResult_BuiltCommitmentTransactionDecodeErrorZ)); return *this; }
3264         LDKCResult_BuiltCommitmentTransactionDecodeErrorZ* operator &() { return &self; }
3265         LDKCResult_BuiltCommitmentTransactionDecodeErrorZ* operator ->() { return &self; }
3266         const LDKCResult_BuiltCommitmentTransactionDecodeErrorZ* operator &() const { return &self; }
3267         const LDKCResult_BuiltCommitmentTransactionDecodeErrorZ* operator ->() const { return &self; }
3268 };
3269 class CResult_RouteDecodeErrorZ {
3270 private:
3271         LDKCResult_RouteDecodeErrorZ self;
3272 public:
3273         CResult_RouteDecodeErrorZ(const CResult_RouteDecodeErrorZ&) = delete;
3274         CResult_RouteDecodeErrorZ(CResult_RouteDecodeErrorZ&& o) : self(o.self) { memset(&o, 0, sizeof(CResult_RouteDecodeErrorZ)); }
3275         CResult_RouteDecodeErrorZ(LDKCResult_RouteDecodeErrorZ&& m_self) : self(m_self) { memset(&m_self, 0, sizeof(LDKCResult_RouteDecodeErrorZ)); }
3276         operator LDKCResult_RouteDecodeErrorZ() && { LDKCResult_RouteDecodeErrorZ res = self; memset(&self, 0, sizeof(LDKCResult_RouteDecodeErrorZ)); return res; }
3277         ~CResult_RouteDecodeErrorZ() { CResult_RouteDecodeErrorZ_free(self); }
3278         CResult_RouteDecodeErrorZ& operator=(CResult_RouteDecodeErrorZ&& o) { CResult_RouteDecodeErrorZ_free(self); self = o.self; memset(&o, 0, sizeof(CResult_RouteDecodeErrorZ)); return *this; }
3279         LDKCResult_RouteDecodeErrorZ* operator &() { return &self; }
3280         LDKCResult_RouteDecodeErrorZ* operator ->() { return &self; }
3281         const LDKCResult_RouteDecodeErrorZ* operator &() const { return &self; }
3282         const LDKCResult_RouteDecodeErrorZ* operator ->() const { return &self; }
3283 };
3284 class CVec_TxOutZ {
3285 private:
3286         LDKCVec_TxOutZ self;
3287 public:
3288         CVec_TxOutZ(const CVec_TxOutZ&) = delete;
3289         CVec_TxOutZ(CVec_TxOutZ&& o) : self(o.self) { memset(&o, 0, sizeof(CVec_TxOutZ)); }
3290         CVec_TxOutZ(LDKCVec_TxOutZ&& m_self) : self(m_self) { memset(&m_self, 0, sizeof(LDKCVec_TxOutZ)); }
3291         operator LDKCVec_TxOutZ() && { LDKCVec_TxOutZ res = self; memset(&self, 0, sizeof(LDKCVec_TxOutZ)); return res; }
3292         ~CVec_TxOutZ() { CVec_TxOutZ_free(self); }
3293         CVec_TxOutZ& operator=(CVec_TxOutZ&& o) { CVec_TxOutZ_free(self); self = o.self; memset(&o, 0, sizeof(CVec_TxOutZ)); return *this; }
3294         LDKCVec_TxOutZ* operator &() { return &self; }
3295         LDKCVec_TxOutZ* operator ->() { return &self; }
3296         const LDKCVec_TxOutZ* operator &() const { return &self; }
3297         const LDKCVec_TxOutZ* operator ->() const { return &self; }
3298 };
3299 class CVec_UpdateFailHTLCZ {
3300 private:
3301         LDKCVec_UpdateFailHTLCZ self;
3302 public:
3303         CVec_UpdateFailHTLCZ(const CVec_UpdateFailHTLCZ&) = delete;
3304         CVec_UpdateFailHTLCZ(CVec_UpdateFailHTLCZ&& o) : self(o.self) { memset(&o, 0, sizeof(CVec_UpdateFailHTLCZ)); }
3305         CVec_UpdateFailHTLCZ(LDKCVec_UpdateFailHTLCZ&& m_self) : self(m_self) { memset(&m_self, 0, sizeof(LDKCVec_UpdateFailHTLCZ)); }
3306         operator LDKCVec_UpdateFailHTLCZ() && { LDKCVec_UpdateFailHTLCZ res = self; memset(&self, 0, sizeof(LDKCVec_UpdateFailHTLCZ)); return res; }
3307         ~CVec_UpdateFailHTLCZ() { CVec_UpdateFailHTLCZ_free(self); }
3308         CVec_UpdateFailHTLCZ& operator=(CVec_UpdateFailHTLCZ&& o) { CVec_UpdateFailHTLCZ_free(self); self = o.self; memset(&o, 0, sizeof(CVec_UpdateFailHTLCZ)); return *this; }
3309         LDKCVec_UpdateFailHTLCZ* operator &() { return &self; }
3310         LDKCVec_UpdateFailHTLCZ* operator ->() { return &self; }
3311         const LDKCVec_UpdateFailHTLCZ* operator &() const { return &self; }
3312         const LDKCVec_UpdateFailHTLCZ* operator ->() const { return &self; }
3313 };
3314 class CResult_FundingLockedDecodeErrorZ {
3315 private:
3316         LDKCResult_FundingLockedDecodeErrorZ self;
3317 public:
3318         CResult_FundingLockedDecodeErrorZ(const CResult_FundingLockedDecodeErrorZ&) = delete;
3319         CResult_FundingLockedDecodeErrorZ(CResult_FundingLockedDecodeErrorZ&& o) : self(o.self) { memset(&o, 0, sizeof(CResult_FundingLockedDecodeErrorZ)); }
3320         CResult_FundingLockedDecodeErrorZ(LDKCResult_FundingLockedDecodeErrorZ&& m_self) : self(m_self) { memset(&m_self, 0, sizeof(LDKCResult_FundingLockedDecodeErrorZ)); }
3321         operator LDKCResult_FundingLockedDecodeErrorZ() && { LDKCResult_FundingLockedDecodeErrorZ res = self; memset(&self, 0, sizeof(LDKCResult_FundingLockedDecodeErrorZ)); return res; }
3322         ~CResult_FundingLockedDecodeErrorZ() { CResult_FundingLockedDecodeErrorZ_free(self); }
3323         CResult_FundingLockedDecodeErrorZ& operator=(CResult_FundingLockedDecodeErrorZ&& o) { CResult_FundingLockedDecodeErrorZ_free(self); self = o.self; memset(&o, 0, sizeof(CResult_FundingLockedDecodeErrorZ)); return *this; }
3324         LDKCResult_FundingLockedDecodeErrorZ* operator &() { return &self; }
3325         LDKCResult_FundingLockedDecodeErrorZ* operator ->() { return &self; }
3326         const LDKCResult_FundingLockedDecodeErrorZ* operator &() const { return &self; }
3327         const LDKCResult_FundingLockedDecodeErrorZ* operator ->() const { return &self; }
3328 };
3329 }