#[non_exhaustive]pub enum ExtractTxError {
Unfinalized,
DetermineLockTime(DetermineLockTimeError),
}Expand description
Error extracting a Transaction from a PSBT.
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.
Unfinalized
Attempted to extract transaction from an unfinalized PSBT.
DetermineLockTime(DetermineLockTimeError)
Failed to determine lock time.
Trait Implementations§
Source§impl Clone for ExtractTxError
impl Clone for ExtractTxError
Source§fn clone(&self) -> ExtractTxError
fn clone(&self) -> ExtractTxError
Returns a duplicate 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 ExtractTxError
impl Debug for ExtractTxError
Source§impl Display for ExtractTxError
impl Display for ExtractTxError
Source§impl Error for ExtractTxError
Available on crate feature std only.
impl Error for ExtractTxError
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<DetermineLockTimeError> for ExtractTxError
impl From<DetermineLockTimeError> for ExtractTxError
Source§fn from(e: DetermineLockTimeError) -> Self
fn from(e: DetermineLockTimeError) -> Self
Converts to this type from the input type.
Source§impl From<ExtractTxError> for ExtractTxFeeRateError
impl From<ExtractTxError> for ExtractTxFeeRateError
Source§fn from(e: ExtractTxError) -> Self
fn from(e: ExtractTxError) -> Self
Converts to this type from the input type.
Source§impl PartialEq for ExtractTxError
impl PartialEq for ExtractTxError
impl Eq for ExtractTxError
impl StructuralPartialEq for ExtractTxError
Auto Trait Implementations§
impl Freeze for ExtractTxError
impl RefUnwindSafe for ExtractTxError
impl Send for ExtractTxError
impl Sync for ExtractTxError
impl Unpin for ExtractTxError
impl UnsafeUnpin for ExtractTxError
impl UnwindSafe for ExtractTxError
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