Enum psbt::DecodeError
source · pub enum DecodeError {
Io(IoError),
Psbt(PsbtError),
}
Variants§
Trait Implementations§
source§impl Clone for DecodeError
impl Clone for DecodeError
source§fn clone(&self) -> DecodeError
fn clone(&self) -> DecodeError
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 DecodeError
impl Debug for DecodeError
source§impl Display for DecodeError
impl Display for DecodeError
source§impl Error for DecodeError
impl Error for DecodeError
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<ConsensusDataError> for DecodeError
impl From<ConsensusDataError> for DecodeError
source§impl From<ConsensusDecodeError> for DecodeError
impl From<ConsensusDecodeError> for DecodeError
source§impl From<DecodeError> for PsbtError
impl From<DecodeError> for PsbtError
source§fn from(err: DecodeError) -> Self
fn from(err: DecodeError) -> Self
Converts to this type from the input type.
source§impl From<DecodeError> for String
impl From<DecodeError> for String
source§fn from(err: DecodeError) -> Self
fn from(err: DecodeError) -> Self
Converts to this type from the input type.
source§impl From<Error> for DecodeError
impl From<Error> for DecodeError
source§impl From<Error> for DecodeError
impl From<Error> for DecodeError
source§impl From<InvalidLeafVer> for DecodeError
impl From<InvalidLeafVer> for DecodeError
source§impl From<InvalidTree> for DecodeError
impl From<InvalidTree> for DecodeError
source§fn from(v: InvalidTree) -> Self
fn from(v: InvalidTree) -> Self
Converts to this type from the input type.
source§impl From<IoError> for DecodeError
impl From<IoError> for DecodeError
source§impl From<NonStandardValue<u8>> for DecodeError
impl From<NonStandardValue<u8>> for DecodeError
source§impl From<PsbtError> for DecodeError
impl From<PsbtError> for DecodeError
source§impl From<PsbtUnsupportedVer> for DecodeError
impl From<PsbtUnsupportedVer> for DecodeError
source§fn from(v: PsbtUnsupportedVer) -> Self
fn from(v: PsbtUnsupportedVer) -> Self
Converts to this type from the input type.
source§impl From<SigError> for DecodeError
impl From<SigError> for DecodeError
source§impl From<XpubDecodeError> for DecodeError
impl From<XpubDecodeError> for DecodeError
source§fn from(v: XpubDecodeError) -> Self
fn from(v: XpubDecodeError) -> Self
Converts to this type from the input type.
source§impl PartialEq for DecodeError
impl PartialEq for DecodeError
source§fn eq(&self, other: &DecodeError) -> bool
fn eq(&self, other: &DecodeError) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for DecodeError
impl StructuralEq for DecodeError
impl StructuralPartialEq for DecodeError
Auto Trait Implementations§
impl !RefUnwindSafe for DecodeError
impl Send for DecodeError
impl Sync for DecodeError
impl Unpin for DecodeError
impl !UnwindSafe for DecodeError
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.