Uses of Class
org.ldk.structs.PathFailure
-
Packages that use PathFailure Package Description org.ldk.structs -
-
Uses of PathFailure in org.ldk.structs
Subclasses of PathFailure in org.ldk.structs Modifier and Type Class Description static class
PathFailure.InitialSend
We failed to initially send the payment and no HTLC was committed to.static class
PathFailure.OnPath
A hop on the path failed to forward our payment.Fields in org.ldk.structs declared as PathFailure Modifier and Type Field Description PathFailure
Event.PaymentPathFailed. failure
Extra error details based on the failure type.PathFailure
Option_PathFailureZ.Some. some
Methods in org.ldk.structs that return PathFailure Modifier and Type Method Description PathFailure
PathFailure. clone()
Creates a copy of the PathFailurestatic PathFailure
PathFailure. initial_send(APIError err)
Utility method to constructs a new InitialSend-variant PathFailurestatic PathFailure
PathFailure. on_path(Option_NetworkUpdateZ network_update)
Utility method to constructs a new OnPath-variant PathFailureMethods in org.ldk.structs with parameters of type PathFailure Modifier and Type Method Description boolean
PathFailure. eq(PathFailure b)
Checks if two PathFailures contain equal inner contents.static Event
Event. payment_path_failed(byte[] payment_id, byte[] payment_hash, boolean payment_failed_permanently, PathFailure failure, Path path, Option_u64Z short_channel_id)
Utility method to constructs a new PaymentPathFailed-variant Eventstatic Option_PathFailureZ
Option_PathFailureZ. some(PathFailure o)
Constructs a new COption_PathFailureZ containing a crate::lightning::events::PathFailure
-