Struct bitcoin::consensus::validation::BitcoinconsensusError
source · #[non_exhaustive]pub struct BitcoinconsensusError(/* private fields */);
Expand description
Wrapped error from bitcoinconsensus
.
Trait Implementations§
source§impl Clone for BitcoinconsensusError
impl Clone for BitcoinconsensusError
source§fn clone(&self) -> BitcoinconsensusError
fn clone(&self) -> BitcoinconsensusError
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 BitcoinconsensusError
impl Debug for BitcoinconsensusError
source§impl Display for BitcoinconsensusError
impl Display for BitcoinconsensusError
source§impl Error for BitcoinconsensusError
impl Error for BitcoinconsensusError
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<BitcoinconsensusError> for TxVerifyError
impl From<BitcoinconsensusError> for TxVerifyError
source§fn from(e: BitcoinconsensusError) -> Self
fn from(e: BitcoinconsensusError) -> Self
Converts to this type from the input type.
source§impl PartialEq<BitcoinconsensusError> for BitcoinconsensusError
impl PartialEq<BitcoinconsensusError> for BitcoinconsensusError
source§fn eq(&self, other: &BitcoinconsensusError) -> bool
fn eq(&self, other: &BitcoinconsensusError) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for BitcoinconsensusError
impl StructuralEq for BitcoinconsensusError
impl StructuralPartialEq for BitcoinconsensusError
Auto Trait Implementations§
impl RefUnwindSafe for BitcoinconsensusError
impl Send for BitcoinconsensusError
impl Sync for BitcoinconsensusError
impl Unpin for BitcoinconsensusError
impl UnwindSafe for BitcoinconsensusError
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