Enum bdk::keys::KeyError [−][src]
pub enum KeyError { InvalidScriptContext, InvalidNetwork, InvalidChecksum, Message(String), Bip32(Error), Miniscript(Error), }
Expand description
Errors thrown while working with keys
Variants
The key cannot exist in the given script context
The key is not valid for the given network
The key has an invalid checksum
Message(String)
Custom error message
Bip32(Error)
BIP32 error
Miniscript(Error)
Miniscript error
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for KeyError
impl UnwindSafe for KeyError
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
type Output = T
type Output = T
Should always be Self
pub fn vzip(self) -> V