pub enum AddUtxoError {
UnknownUtxo(OutPoint),
}
Expand description
Error returned from TxBuilder::add_utxo
and TxBuilder::add_utxos
Variants§
UnknownUtxo(OutPoint)
Happens when trying to spend an UTXO that is not in the internal database
Trait Implementations§
Source§impl Debug for AddUtxoError
impl Debug for AddUtxoError
Source§impl Display for AddUtxoError
impl Display for AddUtxoError
Source§impl Error for AddUtxoError
impl Error for AddUtxoError
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 AddUtxoError
impl RefUnwindSafe for AddUtxoError
impl Send for AddUtxoError
impl Sync for AddUtxoError
impl Unpin for AddUtxoError
impl UnwindSafe for AddUtxoError
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