Result_Bolt11InvoiceBolt11SemanticErrorZ |
Result_Bolt11InvoiceBolt11SemanticErrorZ.clone() |
Creates a new CResult_Bolt11InvoiceBolt11SemanticErrorZ which has the same data as `orig`
but with all dynamically-allocated buffers duplicated in new buffers.
|
static Result_Bolt11InvoiceBolt11SemanticErrorZ |
Result_Bolt11InvoiceBolt11SemanticErrorZ.err(Bolt11SemanticError e) |
Creates a new CResult_Bolt11InvoiceBolt11SemanticErrorZ in the error state.
|
static Result_Bolt11InvoiceBolt11SemanticErrorZ |
Bolt11Invoice.from_signed(SignedRawBolt11Invoice signed_invoice) |
Constructs a `Bolt11Invoice` from a [`SignedRawBolt11Invoice`] by checking all its invariants.
|
static Result_Bolt11InvoiceBolt11SemanticErrorZ |
Result_Bolt11InvoiceBolt11SemanticErrorZ.ok(Bolt11Invoice o) |
Creates a new CResult_Bolt11InvoiceBolt11SemanticErrorZ in the success state.
|