pub enum TxinError {
UnsignedTxHasScriptSigs(usize),
UnsignedTxHasScriptWitnesses(usize),
}
Expand description
Errors during Input
construction from an unsigned
transaction input (see Input::new
).
Variants§
UnsignedTxHasScriptSigs(usize)
the scriptSigs in the {0} unsigned transaction output is not empty.
UnsignedTxHasScriptWitnesses(usize)
the scriptWitnesses in the {0} unsigned transaction output is not empty.
Trait Implementations§
source§impl Error for TxinError
impl Error for TxinError
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 Ord for TxinError
impl Ord for TxinError
source§impl PartialEq for TxinError
impl PartialEq for TxinError
source§impl PartialOrd for TxinError
impl PartialOrd for TxinError
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for TxinError
impl Eq for TxinError
impl StructuralPartialEq for TxinError
Auto Trait Implementations§
impl Freeze for TxinError
impl RefUnwindSafe for TxinError
impl Send for TxinError
impl Sync for TxinError
impl Unpin for TxinError
impl UnwindSafe for TxinError
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