Struct bitcoin::sighash::PrevoutsSizeError
source · #[non_exhaustive]pub struct PrevoutsSizeError;
Expand description
The number of supplied prevouts differs from the number of inputs in the transaction.
Trait Implementations§
source§impl Clone for PrevoutsSizeError
impl Clone for PrevoutsSizeError
source§fn clone(&self) -> PrevoutsSizeError
fn clone(&self) -> PrevoutsSizeError
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 PrevoutsSizeError
impl Debug for PrevoutsSizeError
source§impl Display for PrevoutsSizeError
impl Display for PrevoutsSizeError
source§impl Error for PrevoutsSizeError
impl Error for PrevoutsSizeError
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 From<PrevoutsSizeError> for TaprootError
impl From<PrevoutsSizeError> for TaprootError
source§fn from(e: PrevoutsSizeError) -> Self
fn from(e: PrevoutsSizeError) -> Self
Converts to this type from the input type.
source§impl PartialEq<PrevoutsSizeError> for PrevoutsSizeError
impl PartialEq<PrevoutsSizeError> for PrevoutsSizeError
source§fn eq(&self, other: &PrevoutsSizeError) -> bool
fn eq(&self, other: &PrevoutsSizeError) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for PrevoutsSizeError
impl StructuralEq for PrevoutsSizeError
impl StructuralPartialEq for PrevoutsSizeError
Auto Trait Implementations§
impl RefUnwindSafe for PrevoutsSizeError
impl Send for PrevoutsSizeError
impl Sync for PrevoutsSizeError
impl Unpin for PrevoutsSizeError
impl UnwindSafe for PrevoutsSizeError
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