pub enum Electrum2DescriptorError {
Show 18 variants
Serde(Error),
IO(Error),
Infallible(Infallible),
Base58Error(Error),
Secp256k1Error(Error),
Bip32Error(Error),
RegexError(Error),
UnknownType,
UnknownWalletType(String),
MultisigFewSigners,
UnknownDescriptorFormat(String),
WrongNumberOfKeyStores(usize, usize),
NumberSignaturesKeyStores(u8, usize),
TooManyKeyStores(usize),
UnknownScriptKind(String),
InvalidLength(usize),
InvalidExtendedKeyVersion([u8; 4]),
GenericBorrow(&'static str),
}
Variants§
Serde(Error)
IO(Error)
Infallible(Infallible)
Base58Error(Error)
Secp256k1Error(Error)
Bip32Error(Error)
RegexError(Error)
UnknownType
UnknownWalletType(String)
MultisigFewSigners
UnknownDescriptorFormat(String)
WrongNumberOfKeyStores(usize, usize)
NumberSignaturesKeyStores(u8, usize)
TooManyKeyStores(usize)
UnknownScriptKind(String)
InvalidLength(usize)
InvalidExtendedKeyVersion([u8; 4])
GenericBorrow(&'static str)
Trait Implementations§
Source§impl Debug for Electrum2DescriptorError
impl Debug for Electrum2DescriptorError
Source§impl Display for Electrum2DescriptorError
impl Display for Electrum2DescriptorError
Source§impl Error for Electrum2DescriptorError
impl Error for Electrum2DescriptorError
Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Source§impl From<Error> for Electrum2DescriptorError
impl From<Error> for Electrum2DescriptorError
Source§fn from(source: SerdeError) -> Self
fn from(source: SerdeError) -> Self
Converts to this type from the input type.
Source§impl From<Error> for Electrum2DescriptorError
impl From<Error> for Electrum2DescriptorError
Source§impl From<Error> for Electrum2DescriptorError
impl From<Error> for Electrum2DescriptorError
Source§impl From<Error> for Electrum2DescriptorError
impl From<Error> for Electrum2DescriptorError
Source§impl From<Error> for Electrum2DescriptorError
impl From<Error> for Electrum2DescriptorError
Source§impl From<Error> for Electrum2DescriptorError
impl From<Error> for Electrum2DescriptorError
Source§impl From<Infallible> for Electrum2DescriptorError
impl From<Infallible> for Electrum2DescriptorError
Source§fn from(source: Infallible) -> Self
fn from(source: Infallible) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for Electrum2DescriptorError
impl !RefUnwindSafe for Electrum2DescriptorError
impl Send for Electrum2DescriptorError
impl Sync for Electrum2DescriptorError
impl Unpin for Electrum2DescriptorError
impl !UnwindSafe for Electrum2DescriptorError
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more