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)>
Returns 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§fn from(v: ConsensusDataError) -> DecodeError
fn from(v: ConsensusDataError) -> DecodeError
Converts to this type from the input type.
Source§impl From<ConsensusDecodeError> for DecodeError
impl From<ConsensusDecodeError> for DecodeError
Source§fn from(e: ConsensusDecodeError) -> DecodeError
fn from(e: ConsensusDecodeError) -> DecodeError
Converts to this type from the input type.
Source§impl From<DecodeError> for PsbtError
impl From<DecodeError> for PsbtError
Source§fn from(err: DecodeError) -> PsbtError
fn from(err: DecodeError) -> PsbtError
Converts to this type from the input type.
Source§impl From<Error> for DecodeError
impl From<Error> for DecodeError
Source§fn from(v: Error) -> DecodeError
fn from(v: Error) -> DecodeError
Converts to this type from the input type.
Source§impl From<Error> for DecodeError
impl From<Error> for DecodeError
Source§fn from(v: Error) -> DecodeError
fn from(v: Error) -> DecodeError
Converts to this type from the input type.
Source§impl From<InvalidLeafVer> for DecodeError
impl From<InvalidLeafVer> for DecodeError
Source§fn from(v: InvalidLeafVer) -> DecodeError
fn from(v: InvalidLeafVer) -> DecodeError
Converts to this type from the input type.
Source§impl From<InvalidTree> for DecodeError
impl From<InvalidTree> for DecodeError
Source§fn from(v: InvalidTree) -> DecodeError
fn from(v: InvalidTree) -> DecodeError
Converts to this type from the input type.
Source§impl From<IoError> for DecodeError
impl From<IoError> for DecodeError
Source§fn from(v: IoError) -> DecodeError
fn from(v: IoError) -> DecodeError
Converts to this type from the input type.
Source§impl From<NonStandardValue<u8>> for DecodeError
impl From<NonStandardValue<u8>> for DecodeError
Source§fn from(v: NonStandardValue<u8>) -> DecodeError
fn from(v: NonStandardValue<u8>) -> DecodeError
Converts to this type from the input type.
Source§impl From<PsbtError> for DecodeError
impl From<PsbtError> for DecodeError
Source§fn from(v: PsbtError) -> DecodeError
fn from(v: PsbtError) -> DecodeError
Converts to this type from the input type.
Source§impl From<PsbtUnsupportedVer> for DecodeError
impl From<PsbtUnsupportedVer> for DecodeError
Source§fn from(v: PsbtUnsupportedVer) -> DecodeError
fn from(v: PsbtUnsupportedVer) -> DecodeError
Converts to this type from the input type.
Source§impl From<SigError> for DecodeError
impl From<SigError> for DecodeError
Source§fn from(v: SigError) -> DecodeError
fn from(v: SigError) -> DecodeError
Converts to this type from the input type.
Source§impl From<XkeyDecodeError> for DecodeError
impl From<XkeyDecodeError> for DecodeError
Source§fn from(v: XkeyDecodeError) -> DecodeError
fn from(v: XkeyDecodeError) -> DecodeError
Converts to this type from the input type.
Source§impl PartialEq for DecodeError
impl PartialEq for DecodeError
impl Eq for DecodeError
impl StructuralPartialEq for DecodeError
Auto Trait Implementations§
impl Freeze for DecodeError
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.