pub enum RawTransactionInputError {
Txid(HexToArrayError),
ScriptSig(HexToBytesError),
Witness(HexToBytesError),
}
Expand description
Error when converting a RawTransactionInput
type into a TxIn
.
Variants§
Txid(HexToArrayError)
Conversion of the input txid
field failed.
ScriptSig(HexToBytesError)
Conversion of the input script_sig
field failed.
Witness(HexToBytesError)
Conversion of one of the witness
hex strings failed.
Trait Implementations§
Source§impl Debug for RawTransactionInputError
impl Debug for RawTransactionInputError
Source§impl Display for RawTransactionInputError
impl Display for RawTransactionInputError
Source§impl Error for RawTransactionInputError
impl Error for RawTransactionInputError
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()
Auto Trait Implementations§
impl Freeze for RawTransactionInputError
impl RefUnwindSafe for RawTransactionInputError
impl Send for RawTransactionInputError
impl Sync for RawTransactionInputError
impl Unpin for RawTransactionInputError
impl UnwindSafe for RawTransactionInputError
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