pub enum Error {
UnsupportedAddressType(AddressType),
NetworkMismatch,
Bip32(Error),
Encoding(Error),
InvalidKey(Error),
Ecc(Error),
NotMasterKey,
}Variants§
UnsupportedAddressType(AddressType)
The address type is not supported by the payment code.
NetworkMismatch
Unrecognized network or network mismatch.
Bip32(Error)
Generic BIP32 error
Encoding(Error)
Payment code encoding error.
InvalidKey(Error)
Key error.
Ecc(Error)
Curve operation error.
NotMasterKey
The key is not a master key where a master key is expected.
Trait Implementations§
impl Eq for Error
impl StructuralPartialEq for Error
Auto Trait Implementations§
impl Freeze for Error
impl RefUnwindSafe for Error
impl Send for Error
impl Sync for Error
impl Unpin for Error
impl UnwindSafe for Error
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