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)>
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