/**
* Persist the given ['ChannelManager'] to disk, returning an error if persistence failed.
*/
- public Result_NoneErrorZ persist_manager(ChannelManager channel_manager) {
+ public Result_NoneErrorZ persist_manager(org.ldk.structs.ChannelManager channel_manager) {
long ret = bindings.Persister_persist_manager(this.ptr, channel_manager == null ? 0 : channel_manager.ptr);
Reference.reachabilityFence(this);
Reference.reachabilityFence(channel_manager);
/**
* Persist the given [`NetworkGraph`] to disk, returning an error if persistence failed.
*/
- public Result_NoneErrorZ persist_graph(NetworkGraph network_graph) {
+ public Result_NoneErrorZ persist_graph(org.ldk.structs.NetworkGraph network_graph) {
long ret = bindings.Persister_persist_graph(this.ptr, network_graph == null ? 0 : network_graph.ptr);
Reference.reachabilityFence(this);
Reference.reachabilityFence(network_graph);
/**
* Persist the given [`WriteableScore`] to disk, returning an error if persistence failed.
*/
- public Result_NoneErrorZ persist_scorer(WriteableScore scorer) {
+ public Result_NoneErrorZ persist_scorer(org.ldk.structs.WriteableScore scorer) {
long ret = bindings.Persister_persist_scorer(this.ptr, scorer == null ? 0 : scorer.ptr);
Reference.reachabilityFence(this);
Reference.reachabilityFence(scorer);