Enum bdk_wallet::AddUtxoError
source · 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)>
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