Enum lightning_invoice::Fallback [−][src]
pub enum Fallback {
SegWitProgram {
version: u5,
program: Vec<u8>,
},
PubKeyHash([u8; 20]),
ScriptHash([u8; 20]),
}
Expand description
Fallback address in case no LN payment is possible
Variants
Trait Implementations
Calculate the base32 serialized length
type Err = ParseError
type Err = ParseError
The associated error which can be returned from parsing (e.g. because of bad padding).
Convert a base32 slice to Self
.
Encode as base32 and write it to the supplied writer Implementations shouldn’t allocate. Read more
Auto Trait Implementations
impl RefUnwindSafe for Fallback
impl UnwindSafe for Fallback
Blanket Implementations
Mutably borrows from an owned value. Read more