pub enum AddForeignUtxoError {
InvalidTxid {
input_txid: Txid,
foreign_utxo: OutPoint,
},
InvalidOutpoint(OutPoint),
MissingUtxo,
}
Expand description
Error returned from TxBuilder::add_foreign_utxo
.
Variants§
InvalidTxid
Foreign utxo outpoint txid does not match PSBT input txid
InvalidOutpoint(OutPoint)
Requested outpoint doesn’t exist in the tx (vout greater than available outputs)
MissingUtxo
Foreign utxo missing witness_utxo or non_witness_utxo
Trait Implementations§
Source§impl Debug for AddForeignUtxoError
impl Debug for AddForeignUtxoError
Source§impl Display for AddForeignUtxoError
impl Display for AddForeignUtxoError
Source§impl Error for AddForeignUtxoError
impl Error for AddForeignUtxoError
1.30.0 · 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 AddForeignUtxoError
impl RefUnwindSafe for AddForeignUtxoError
impl Send for AddForeignUtxoError
impl Sync for AddForeignUtxoError
impl Unpin for AddForeignUtxoError
impl UnwindSafe for AddForeignUtxoError
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