Enum bdk_chain::tx_graph::CalculateFeeError
source · pub enum CalculateFeeError {
MissingTxOut(Vec<OutPoint>),
NegativeFee(SignedAmount),
}
Expand description
Errors returned by TxGraph::calculate_fee
.
Variants§
MissingTxOut(Vec<OutPoint>)
Missing TxOut
for one or more of the inputs of the tx
NegativeFee(SignedAmount)
When the transaction is invalid according to the graph it has a negative fee
Trait Implementations§
source§impl Debug for CalculateFeeError
impl Debug for CalculateFeeError
source§impl Display for CalculateFeeError
impl Display for CalculateFeeError
source§impl Error for CalculateFeeError
impl Error for CalculateFeeError
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()
source§impl PartialEq for CalculateFeeError
impl PartialEq for CalculateFeeError
source§fn eq(&self, other: &CalculateFeeError) -> bool
fn eq(&self, other: &CalculateFeeError) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for CalculateFeeError
impl StructuralPartialEq for CalculateFeeError
Auto Trait Implementations§
impl Freeze for CalculateFeeError
impl RefUnwindSafe for CalculateFeeError
impl Send for CalculateFeeError
impl Sync for CalculateFeeError
impl Unpin for CalculateFeeError
impl UnwindSafe for CalculateFeeError
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
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more