#[non_exhaustive]pub enum FundingUtxoError {
OutOfBounds {
vout: usize,
len: usize,
},
MissingUtxo,
}Expand description
An error getting the funding transaction for this input.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
OutOfBounds
The vout is out of bounds for non-witness transaction.
MissingUtxo
No funding utxo found.
Trait Implementations§
Source§impl Clone for FundingUtxoError
impl Clone for FundingUtxoError
Source§fn clone(&self) -> FundingUtxoError
fn clone(&self) -> FundingUtxoError
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for FundingUtxoError
impl Debug for FundingUtxoError
Source§impl Display for FundingUtxoError
impl Display for FundingUtxoError
Source§impl Error for FundingUtxoError
Available on crate feature std only.
impl Error for FundingUtxoError
Available on crate feature
std only.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()
Source§impl From<FundingUtxoError> for FeeError
impl From<FundingUtxoError> for FeeError
Source§fn from(e: FundingUtxoError) -> Self
fn from(e: FundingUtxoError) -> Self
Converts to this type from the input type.
Source§impl From<FundingUtxoError> for SignError
impl From<FundingUtxoError> for SignError
Source§fn from(e: FundingUtxoError) -> Self
fn from(e: FundingUtxoError) -> Self
Converts to this type from the input type.
Source§impl PartialEq for FundingUtxoError
impl PartialEq for FundingUtxoError
impl Eq for FundingUtxoError
impl StructuralPartialEq for FundingUtxoError
Auto Trait Implementations§
impl Freeze for FundingUtxoError
impl RefUnwindSafe for FundingUtxoError
impl Send for FundingUtxoError
impl Sync for FundingUtxoError
impl Unpin for FundingUtxoError
impl UnwindSafe for FundingUtxoError
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