pub enum DisplayAddressError {
UnsupportedDescriptor(String),
MissingOrigin(String),
FingerprintMismatch(String),
KeyMismatch(String),
InvalidBase58Character(char),
InvalidMultisig,
Bip32(Error),
Fingerprint(HexToArrayError),
Key(DescriptorKeyParseError),
Threshold(ParseIntError),
Device(HWIDeviceError),
}Expand description
A descriptor could not be converted into an address-display request.
Variants§
UnsupportedDescriptor(String)
The descriptor’s script or key expression is unsupported.
MissingOrigin(String)
A single-key descriptor lacks key-origin information.
FingerprintMismatch(String)
The descriptor’s origin fingerprint differs from the selected wallet.
KeyMismatch(String)
The descriptor key differs from the wallet key at its origin path.
InvalidBase58Character(char)
A key string contains a character outside the Base58 alphabet.
InvalidMultisig
The multisig threshold or key list is invalid.
Bip32(Error)
A derivation path or extended public key could not be parsed.
Fingerprint(HexToArrayError)
A key-origin fingerprint could not be parsed.
Tuple Fields
0: HexToArrayErrorThe hexadecimal parsing error.
Key(DescriptorKeyParseError)
A multisig descriptor key could not be parsed.
Tuple Fields
0: DescriptorKeyParseErrorThe descriptor-key parsing error.
Threshold(ParseIntError)
A multisig threshold could not be parsed as an integer.
Tuple Fields
0: ParseIntErrorThe integer parsing error.
Device(HWIDeviceError)
A wallet query failed during request preparation.
Tuple Fields
0: HWIDeviceErrorThe wallet-operation error.
Trait Implementations§
Source§impl Debug for DisplayAddressError
impl Debug for DisplayAddressError
Source§impl Display for DisplayAddressError
impl Display for DisplayAddressError
Source§impl Error for DisplayAddressError
impl Error for DisplayAddressError
Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
use the Display impl or to_string()