pub enum CoinbaseOutputError {
Address(ParseError),
Hex(HexToBytesError),
InvalidOutputScript,
UnknownOutputScriptType,
Miniscript(Error),
}Expand description
Error enum
Variants§
Address(ParseError)
Error parsing a Bitcoin address
Hex(HexToBytesError)
Error parsing a raw descriptor as hex.
InvalidOutputScript
Invalid output_script_value for script type. It must be a valid public key/script
UnknownOutputScriptType
Unknown script type in config
Miniscript(Error)
Error from the miniscript crate.
Trait Implementations§
Source§impl From<HexToBytesError> for Error
impl From<HexToBytesError> for Error
Source§fn from(e: HexToBytesError) -> Self
fn from(e: HexToBytesError) -> Self
Converts to this type from the input type.
Source§impl From<ParseError> for Error
impl From<ParseError> for Error
Source§fn from(e: ParseError) -> Self
fn from(e: ParseError) -> Self
Converts to this type from the input type.
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