Package org.ldk.structs
Class UtxoResult
- java.lang.Object
-
- org.ldk.structs.UtxoResult
-
- Direct Known Subclasses:
UtxoResult.Async
,UtxoResult.Sync
public class UtxoResult extends Object
The result of a [`UtxoLookup::get_utxo`] call. A call may resolve either synchronously, returning the `Sync` variant, or asynchronously, returning an [`UtxoFuture`] in the `Async` variant.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
UtxoResult.Async
A result which will be resolved asynchronously.static class
UtxoResult.Sync
A result which was resolved synchronously.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static UtxoResult
async(UtxoFuture a)
Utility method to constructs a new Async-variant UtxoResultUtxoResult
clone()
Creates a copy of the UtxoResultprotected void
finalize()
static UtxoResult
sync(Result_TxOutUtxoLookupErrorZ a)
Utility method to constructs a new Sync-variant UtxoResult
-
-
-
Method Detail
-
finalize
protected void finalize() throws Throwable
-
clone
public UtxoResult clone()
Creates a copy of the UtxoResult
-
sync
public static UtxoResult sync(Result_TxOutUtxoLookupErrorZ a)
Utility method to constructs a new Sync-variant UtxoResult
-
async
public static UtxoResult async(UtxoFuture a)
Utility method to constructs a new Async-variant UtxoResult
-
-