Enum bdk::descriptor::error::Error [−][src]
pub enum Error { InvalidHdKeyPath, InvalidDescriptorChecksum, HardenedDerivationXpub, DuplicatedKeys, Key(KeyError), Policy(PolicyError), InvalidDescriptorCharacter(char), Bip32(Error), Base58(Error), Pk(Error), Miniscript(Error), Hex(Error), }
Expand description
Errors related to the parsing and usage of descriptors
Variants
Expand description
Invalid HD Key path, such as having a wildcard but a length != 1
Expand description
The provided descriptor doesn’t match its checksum
Expand description
The descriptor contains hardened derivation steps on public extended keys
Expand description
The descriptor contains multiple keys with the same BIP32 fingerprint
Key(KeyError)
Expand description
Error thrown while working with keys
Policy(PolicyError)
Expand description
Error while extracting and manipulating policies
InvalidDescriptorCharacter(char)
Expand description
Invalid character found in the descriptor checksum
Bip32(Error)
Expand description
BIP32 error
Base58(Error)
Expand description
Error during base58 decoding
Pk(Error)
Expand description
Key-related error
Miniscript(Error)
Expand description
Miniscript error
Expand description
Hex decoding error
Trait Implementations
impl Error for Error
[src]
impl Error for Error
[src]fn source(&self) -> Option<&(dyn Error + 'static)>
1.30.0[src]
fn source(&self) -> Option<&(dyn Error + 'static)>
1.30.0[src]The lower-level source of this error, if any. Read more
fn backtrace(&self) -> Option<&Backtrace>
[src]
fn backtrace(&self) -> Option<&Backtrace>
[src]backtrace
)Returns a stack backtrace, if available, of where this error occurred. Read more
fn description(&self) -> &str
1.0.0[src]
fn description(&self) -> &str
1.0.0[src]use the Display impl or to_string()
impl From<PolicyError> for Error
[src]
impl From<PolicyError> for Error
[src]fn from(err: PolicyError) -> Self
[src]
fn from(err: PolicyError) -> Self
[src]Performs the conversion.
Auto Trait Implementations
impl RefUnwindSafe for Error
impl Send for Error
impl Sync for Error
impl Unpin for Error
impl UnwindSafe for Error
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<T> Instrument for T
[src]
impl<T> Instrument for T
[src]fn instrument(self, span: Span) -> Instrumented<Self>
[src]
fn instrument(self, span: Span) -> Instrumented<Self>
[src]Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
fn in_current_span(self) -> Instrumented<Self>
[src]
fn in_current_span(self) -> Instrumented<Self>
[src]impl<T> Pointable for T
impl<T> Pointable for T
impl<T> Same<T> for T
impl<T> Same<T> for T
type Output = T
type Output = T
Should always be Self
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,