Enum bc::TxParseError
source · pub enum TxParseError {
Hex(Error),
Consensus(ConsensusDecodeError),
}
Variants§
Hex(Error)
Consensus(ConsensusDecodeError)
Trait Implementations§
source§impl Clone for TxParseError
impl Clone for TxParseError
source§fn clone(&self) -> TxParseError
fn clone(&self) -> TxParseError
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 TxParseError
impl Debug for TxParseError
source§impl Display for TxParseError
impl Display for TxParseError
source§impl Error for TxParseError
impl Error for TxParseError
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 From<ConsensusDecodeError> for TxParseError
impl From<ConsensusDecodeError> for TxParseError
source§fn from(v: ConsensusDecodeError) -> Self
fn from(v: ConsensusDecodeError) -> Self
Converts to this type from the input type.
source§impl From<Error> for TxParseError
impl From<Error> for TxParseError
source§impl From<TxParseError> for String
impl From<TxParseError> for String
source§fn from(err: TxParseError) -> Self
fn from(err: TxParseError) -> Self
Converts to this type from the input type.
source§impl PartialEq for TxParseError
impl PartialEq for TxParseError
source§fn eq(&self, other: &TxParseError) -> bool
fn eq(&self, other: &TxParseError) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for TxParseError
impl StructuralEq for TxParseError
impl StructuralPartialEq for TxParseError
Auto Trait Implementations§
impl !RefUnwindSafe for TxParseError
impl Send for TxParseError
impl Sync for TxParseError
impl Unpin for TxParseError
impl !UnwindSafe for TxParseError
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
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.